We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7531362 commit 5175705Copy full SHA for 5175705
txcache/blocks_test.go
@@ -90,6 +90,6 @@ func Test_getTransactionsInBlock(t *testing.T) {
90
91
txs, err := getTransactionsInBlock(&blockBody, txCache, 0)
92
require.Nil(t, txs)
93
- require.Equal(t, errNotFoundTx, err)
+ require.ErrorIs(t, err, errNotFoundTx)
94
})
95
}
0 commit comments