mirror of
https://github.com/sparrowwallet/drongo.git
synced 2025-01-27 15:41:11 +00:00
fix incorrect script type returned for p2sh multisig
This commit is contained in:
parent
7b9affb3de
commit
89a6b1296e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue