diff --git a/packages/sdk/src/utils/index.ts b/packages/sdk/src/utils/index.ts index dc67631e..46a2f518 100644 --- a/packages/sdk/src/utils/index.ts +++ b/packages/sdk/src/utils/index.ts @@ -247,7 +247,7 @@ export function getScriptType(script: Buffer, network: Network): GetScriptTypeRe if (p2wsh.payload) { return { format: addressTypeToName["p2wsh"], - ...p2wpkh + ...p2wsh } }