fix: p2sh addr (#1607)

Rafael committed Aug 14, 2024 at 20:40 UTC d96bab43c9fee91b464166f7747be3b864b7f5ff
1 file changed +1 -1
cw_bitcoin/lib/utils.dart
+1 -1
@@ -23,7 +23,7 @@ String generateP2SHAddress({
23 required int index,
24 }) =>
25 ECPublic.fromBip32(hd.childKey(Bip32KeyIndex(index)).publicKey)
26 - .toP2wshInP2sh()
26 + .toP2wpkhInP2sh()
27 .toAddress(network);
28
29 String generateP2WSHAddress({