fix: p2sh addr (#1607)

This commit is contained in:
Rafael
2024-08-15 02:40:40 +03:00
committed by GitHub
parent 183f9c191d
commit d96bab43c9
+1 -1
View File
@@ -23,7 +23,7 @@ String generateP2SHAddress({
required int index,
}) =>
ECPublic.fromBip32(hd.childKey(Bip32KeyIndex(index)).publicKey)
.toP2wshInP2sh()
.toP2wpkhInP2sh()
.toAddress(network);
String generateP2WSHAddress({