mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 02:11:40 +01:00
Fixing nits
This commit is contained in:
parent
beafa86372
commit
da94fb95ea
@ -513,8 +513,7 @@ trait ScriptInterpreter extends CryptoInterpreter with StackInterpreter with Con
|
||||
}
|
||||
case _: WitnessTxSigComponentRaw => false
|
||||
case w: WitnessTxSigComponentP2SH =>
|
||||
val p2shScriptSig = P2SHScriptSignature(w.scriptSignature.bytes)
|
||||
!p2shScriptSig.redeemScript.isInstanceOf[WitnessScriptPubKey]
|
||||
!w.scriptSignature.redeemScript.isInstanceOf[WitnessScriptPubKey]
|
||||
case r: WitnessTxSigComponentRebuilt =>
|
||||
r.transaction match {
|
||||
case wtx: WitnessTransaction =>
|
||||
|
Loading…
Reference in New Issue
Block a user