Correct a couple of typos spotted while reviewing.
This commit is contained in:
parent
2f902a5880
commit
8e1973d865
1 changed files with 9 additions and 6 deletions
|
@ -3913,8 +3913,10 @@ func TestBitcoindTxValidTests(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// for ma is eaitehr a ["this is a comment "]
|
// form is either:
|
||||||
// or [[[previous hash, previous index, previous scripbPubKey]...,]
|
// ["this is a comment "]
|
||||||
|
// or:
|
||||||
|
// [[[previous hash, previous index, previous scriptPubKey]...,]
|
||||||
// serializedTransaction, verifyFlags]
|
// serializedTransaction, verifyFlags]
|
||||||
testloop:
|
testloop:
|
||||||
for i, test := range tests {
|
for i, test := range tests {
|
||||||
|
@ -3924,9 +3926,8 @@ testloop:
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(test) != 3 {
|
if len(test) != 3 {
|
||||||
t.Errorf("bad test (bad lenggh) %d: %v", i, test)
|
t.Errorf("bad test (bad length) %d: %v", i, test)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
}
|
}
|
||||||
serializedhex, ok := test[1].(string)
|
serializedhex, ok := test[1].(string)
|
||||||
if !ok {
|
if !ok {
|
||||||
|
@ -4054,8 +4055,10 @@ func TestBitcoindTxInvalidTests(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// for ma is eaitehr a ["this is a comment "]
|
// form is either:
|
||||||
// or [[[previous hash, previous index, previous scripbPubKey]...,]
|
// ["this is a comment "]
|
||||||
|
// or:
|
||||||
|
// [[[previous hash, previous index, previous scriptPubKey]...,]
|
||||||
// serializedTransaction, verifyFlags]
|
// serializedTransaction, verifyFlags]
|
||||||
testloop:
|
testloop:
|
||||||
for i, test := range tests {
|
for i, test := range tests {
|
||||||
|
|
Loading…
Reference in a new issue