mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
fix: p2sh addr (#1607)
This commit is contained in:
parent
183f9c191d
commit
d96bab43c9
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ String generateP2SHAddress({
|
|||
required int index,
|
||||
}) =>
|
||||
ECPublic.fromBip32(hd.childKey(Bip32KeyIndex(index)).publicKey)
|
||||
.toP2wshInP2sh()
|
||||
.toP2wpkhInP2sh()
|
||||
.toAddress(network);
|
||||
|
||||
String generateP2WSHAddress({
|
||||
|
|
Loading…
Reference in a new issue