Skip to content

Commit 4e9b9f5

Browse files
committed
core/types: rm extranous check in test
1 parent 6ed812d commit 4e9b9f5

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
@@ -150,9 +150,6 @@ func TestDeriveFields(t *testing.T) {
150150
if receipts[i].Logs[j].TxHash != txs[i].Hash() {
151151
t.Errorf("receipts[%d].Logs[%d].TxHash = %s, want %s", i, j, receipts[i].Logs[j].TxHash.String(), txs[i].Hash().String())
152152
}
153-
if receipts[i].Logs[j].TxHash != txs[i].Hash() {
154-
t.Errorf("receipts[%d].Logs[%d].TxHash = %s, want %s", i, j, receipts[i].Logs[j].TxHash.String(), txs[i].Hash().String())
155-
}
156153
if receipts[i].Logs[j].TxIndex != uint(i) {
157154
t.Errorf("receipts[%d].Logs[%d].TransactionIndex = %d, want %d", i, j, receipts[i].Logs[j].TxIndex, i)
158155
}

0 commit comments

Comments
 (0)