Testnet addresses are supported of course. What commit/branch/tag are
you testing this on?


On 11/22/2017 08:10 PM, dj dos wrote:
> Hello,
> 
> I generated a receiving address when running electrum in test mode
> e.g. mqT3bpB7ET1ii1EB6RExZQXhrXBsBq8pnN
> However running 
> Address forwardingAddress = new Address(params,
> "mqT3bpB7ET1ii1EB6RExZQXhrXBsBq8pnN");
> 
> gives 
> 
> Exception in thread "main" org.bitcoinj.core.AddressFormatException:
> Illegal character  at position 0
> at org.bitcoinj.core.Base58.decode(Base58.java:110)
> at org.bitcoinj.core.Base58.decodeChecked(Base58.java:149)
> at
> org.bitcoinj.core.VersionedChecksummedBytes.<init>(VersionedChecksummedBytes.java:41)
> at org.bitcoinj.core.Address.<init>(Address.java:110)
> 
> Are Testnet public addresses not supported.
> 
> Thanks
> 
> -- 
> 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 [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to