This commit is contained in:
Owain G. Ainsworth 2013-06-21 01:33:56 +01:00
parent 8fe24958bb
commit 53ba8fb834
4 changed files with 704 additions and 705 deletions

View file

@ -774,11 +774,11 @@ func getSigOpCount(pops []parsedOpcode, precise bool) int {
for i, pop := range pops {
switch pop.opcode.value {
case OP_CHECKSIG:
fallthrough;
fallthrough
case OP_CHECKSIGVERIFY:
nSigs++
case OP_CHECK_MULTISIG:
fallthrough;
fallthrough
case OP_CHECKMULTISIGVERIFY:
// If we are being precise then look for familiar
// patterns for multisig, for now all we recognise is

View file

@ -1452,4 +1452,3 @@ func TestCheckErrorCondition(t *testing.T) {
t.Errorf("unexpected error %v on final check", err)
}
}