Skip to content

Commit

Permalink
Correct a couple of typos spotted while reviewing.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Dec 20, 2014
1 parent 2f902a5 commit 8e1973d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3913,8 +3913,10 @@ func TestBitcoindTxValidTests(t *testing.T) {
return
}

// for ma is eaitehr a ["this is a comment "]
// or [[[previous hash, previous index, previous scripbPubKey]...,]
// form is either:
// ["this is a comment "]
// or:
// [[[previous hash, previous index, previous scriptPubKey]...,]
// serializedTransaction, verifyFlags]
testloop:
for i, test := range tests {
Expand All @@ -3924,9 +3926,8 @@ testloop:
}

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

}
serializedhex, ok := test[1].(string)
if !ok {
Expand Down Expand Up @@ -4054,8 +4055,10 @@ func TestBitcoindTxInvalidTests(t *testing.T) {
return
}

// for ma is eaitehr a ["this is a comment "]
// or [[[previous hash, previous index, previous scripbPubKey]...,]
// form is either:
// ["this is a comment "]
// or:
// [[[previous hash, previous index, previous scriptPubKey]...,]
// serializedTransaction, verifyFlags]
testloop:
for i, test := range tests {
Expand Down

0 comments on commit 8e1973d

Please sign in to comment.