gofmt
This commit is contained in:
parent
03dd134305
commit
1240483592
1 changed files with 12 additions and 12 deletions
|
@ -1945,17 +1945,17 @@ var removeOpcodeByDataTests = []removeOpcodeByDataTest{
|
|||
{
|
||||
// padded to keep it canonical.
|
||||
name: "simple case (pushdata1)",
|
||||
before: append(append([]byte{btcscript.OP_PUSHDATA1, 76,},
|
||||
before: append(append([]byte{btcscript.OP_PUSHDATA1, 76},
|
||||
bytes.Repeat([]byte{0}, 72)...), []byte{1, 2, 3, 4}...),
|
||||
remove: []byte{1, 2, 3, 4},
|
||||
after: []byte{},
|
||||
},
|
||||
{
|
||||
name: "simple case (pushdata1 miss)",
|
||||
before: append(append([]byte{btcscript.OP_PUSHDATA1, 76,},
|
||||
before: append(append([]byte{btcscript.OP_PUSHDATA1, 76},
|
||||
bytes.Repeat([]byte{0}, 72)...), []byte{1, 2, 3, 4}...),
|
||||
remove: []byte{1, 2, 3, 5},
|
||||
after: append(append([]byte{btcscript.OP_PUSHDATA1, 76,},
|
||||
after: append(append([]byte{btcscript.OP_PUSHDATA1, 76},
|
||||
bytes.Repeat([]byte{0}, 72)...), []byte{1, 2, 3, 4}...),
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue