mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-04-17 19:51:58 +00:00
use HRP for appropriate network
fixes testnet
This commit is contained in:
parent
f2effa3575
commit
f630c3f567
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Bitcoin extends Bip39HDCurrency with PaynymCurrencyInterface {
|
|||
|
||||
final addr = coinlib.P2TRAddress.fromTaproot(
|
||||
taproot,
|
||||
hrp: coinlib.Network.mainnet.bech32Hrp,
|
||||
hrp: networkParams.bech32Hrp,
|
||||
);
|
||||
|
||||
return (address: addr, addressType: AddressType.p2tr);
|
||||
|
|
Loading…
Reference in a new issue