mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
gofmt
This commit is contained in:
parent
8fe24958bb
commit
53ba8fb834
4 changed files with 704 additions and 705 deletions
|
@ -774,11 +774,11 @@ func getSigOpCount(pops []parsedOpcode, precise bool) int {
|
||||||
for i, pop := range pops {
|
for i, pop := range pops {
|
||||||
switch pop.opcode.value {
|
switch pop.opcode.value {
|
||||||
case OP_CHECKSIG:
|
case OP_CHECKSIG:
|
||||||
fallthrough;
|
fallthrough
|
||||||
case OP_CHECKSIGVERIFY:
|
case OP_CHECKSIGVERIFY:
|
||||||
nSigs++
|
nSigs++
|
||||||
case OP_CHECK_MULTISIG:
|
case OP_CHECK_MULTISIG:
|
||||||
fallthrough;
|
fallthrough
|
||||||
case OP_CHECKMULTISIGVERIFY:
|
case OP_CHECKMULTISIGVERIFY:
|
||||||
// If we are being precise then look for familiar
|
// If we are being precise then look for familiar
|
||||||
// patterns for multisig, for now all we recognise is
|
// patterns for multisig, for now all we recognise is
|
||||||
|
|
|
@ -1452,4 +1452,3 @@ func TestCheckErrorCondition(t *testing.T) {
|
||||||
t.Errorf("unexpected error %v on final check", err)
|
t.Errorf("unexpected error %v on final check", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue