mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix: p2sh addr (#1607)
This commit is contained in:
@@ -23,7 +23,7 @@ String generateP2SHAddress({
|
||||
required int index,
|
||||
}) =>
|
||||
ECPublic.fromBip32(hd.childKey(Bip32KeyIndex(index)).publicKey)
|
||||
.toP2wshInP2sh()
|
||||
.toP2wpkhInP2sh()
|
||||
.toAddress(network);
|
||||
|
||||
String generateP2WSHAddress({
|
||||
|
||||
Reference in New Issue
Block a user