Skip to content

Commit a01f806

Browse files
authored
fix(sdk): return p2wsh (#126)
fix to return p2wsh
1 parent 40427bc commit a01f806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export function getScriptType(script: Buffer, network: Network): GetScriptTypeRe
247247
if (p2wsh.payload) {
248248
return {
249249
format: addressTypeToName["p2wsh"],
250-
...p2wpkh
250+
...p2wsh
251251
}
252252
}
253253

0 commit comments

Comments
 (0)