Closed nwasiq closed 3 years ago
"ttubxxxBIP32_PUB_KEY" is, as the error describes, NOT a valid base58 string. You need to pass a valid pubkey.
ofcourse this is not my real pub key. That same pubkey works fine on bitcoinjs-lib so I know that it's valid
Solved the issue by adding a LitecoinTestnetAddressStringParser like the LitecoinMainnetAddressStringParser in the Litecoin class.
you made a PR?
ExtPubKey.Parse("ttubxxxBIP32_PUB_KEY", NBitcoin.Altcoins.Litecoin.Instance.Testnet);
The above code returns the error:
Unhandled exception. System.FormatException: Invalid base58 string
What should I do differently? I'm able to parse LTC BIP32 pub key just fine