If I use: DeterministicKey key = DeterministicKey.deserializeB58("MY XPUB KEY",params); Wallet wallet = Wallet.fromWatchingKey(params,key); wallet.currentReceiveAddress()
It only returns legacy address instead of segwit address... -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.