Fix: Test sending and receiving

This commit is contained in:
Likho 2022-09-13 20:18:45 +02:00
parent e065044476
commit c5ff6dfed5

View file

@ -308,7 +308,7 @@ class NamecoinWallet extends CoinServiceAPI {
throw ArgumentError('Invalid version or Network mismatch');
} else {
try {
decodeBech32 = segwit.decode(address);
decodeBech32 = segwit.decode(address, namecoin.bech32!);
} catch (err) {
// Bech32 decode fail
}