mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
pass bech32 hrp as override on address decode
This commit is contained in:
parent
46d454fad1
commit
52fbcdb5e1
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ abstract class Bip39HDCurrency extends Bip39Currency {
|
|||
throw ArgumentError('Invalid version or Network mismatch');
|
||||
} else {
|
||||
try {
|
||||
decodeBech32 = segwit.decode(address);
|
||||
decodeBech32 = segwit.decode(address, networkParams.bech32Hrp);
|
||||
} catch (err) {
|
||||
// Bech32 decode fail
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue