Patch for concurrent iterator & others (onto v1.11.6) #386

Closed
roysc wants to merge 1565 commits from v1.11.6-statediff-v5 into master
Showing only changes of commit 1f5943e4f9 - Show all commits

View File

@ -477,14 +477,18 @@ func TestTransactionCoding(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
assertEqual(parsedTx, tx) if err := assertEqual(parsedTx, tx); err != nil {
t.Fatal(err)
}
// JSON // JSON
parsedTx, err = encodeDecodeJSON(tx) parsedTx, err = encodeDecodeJSON(tx)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
assertEqual(parsedTx, tx) if err := assertEqual(parsedTx, tx); err != nil {
t.Fatal(err)
}
} }
} }