Enable txindex=1 as default #37
1 changed files with 1 additions and 2 deletions
|
@ -955,8 +955,7 @@ func getWitnessSigOps(pkScript []byte, witness wire.TxWitness) int {
|
|||
len(witness) > 0:
|
||||
|
||||
witnessScript := witness[len(witness)-1]
|
||||
pops, _ := parseScript(witnessScript)
|
||||
return getSigOpCount(pops, true)
|
||||
return countSigOpsV0(witnessScript, true)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue