Skip to content

Commit ffa02d0

Browse files
committed
core/types: rm extranous check in test
1 parent 443afc9 commit ffa02d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/types/receipt_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,6 @@ func TestDeriveFields(t *testing.T) {
273273
if receipts[i].Logs[j].TxHash != txs[i].Hash() {
274274
t.Errorf("receipts[%d].Logs[%d].TxHash = %s, want %s", i, j, receipts[i].Logs[j].TxHash.String(), txs[i].Hash().String())
275275
}
276-
if receipts[i].Logs[j].TxHash != txs[i].Hash() {
277-
t.Errorf("receipts[%d].Logs[%d].TxHash = %s, want %s", i, j, receipts[i].Logs[j].TxHash.String(), txs[i].Hash().String())
278-
}
279276
if receipts[i].Logs[j].TxIndex != uint(i) {
280277
t.Errorf("receipts[%d].Logs[%d].TransactionIndex = %d, want %d", i, j, receipts[i].Logs[j].TxIndex, i)
281278
}

0 commit comments

Comments
 (0)