Skip to content

Commit

Permalink
chore: remove unnecessary checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Nov 27, 2024
1 parent 5634a4d commit c5a9abd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/exchange_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ func fillBlocks(
}

_, err := cctx.FillBlock(16, cfg.Genesis.Accounts()[0].Name, flags.BroadcastAsync)
if err != nil && ctx.Err() == nil {
require.NoError(t, err)
}
require.NoError(t, err)
}
}

Expand Down

0 comments on commit c5a9abd

Please sign in to comment.