Commit b23440e2 authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

Update op-batcher/batcher/channel_manager_test.go

Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
parent a7d86a43
......@@ -78,7 +78,8 @@ func TestChannelManagerReturnsErrReorgWhenDrained(t *testing.T) {
_, _, err = m.TxData(eth.BlockID{})
require.Nil(t, err)
_, _, err = m.TxData(eth.BlockID{})
require.ErrorIs(t, err, io.EOF)
err = m.AddL2Block(x)
require.ErrorIs(t, err, batcher.ErrReorg)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment