diff --git a/src/main/java/com/sparrowwallet/drongo/psbt/PSBTInput.java b/src/main/java/com/sparrowwallet/drongo/psbt/PSBTInput.java index d6dc72e..5a3b5c8 100644 --- a/src/main/java/com/sparrowwallet/drongo/psbt/PSBTInput.java +++ b/src/main/java/com/sparrowwallet/drongo/psbt/PSBTInput.java @@ -884,6 +884,8 @@ public class PSBTInput { return p2sh ? P2SH_P2WPKH : P2WPKH; } else if(P2WSH.isScriptType(signingScript)) { return p2sh ? P2SH_P2WSH : P2WSH; + } else if(MULTISIG.isScriptType(signingScript)) { + return p2sh ? P2SH : MULTISIG; } return ScriptType.getType(signingScript);