Skip to content

Commit

Permalink
Remove slot comparison in AssertCommittee
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrvivian committed May 8, 2024
1 parent 962bd9b commit d5c7c41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/docker-network/tests/dockertestframework/asserts.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func (d *DockerTestFramework) AssertCommittee(expectedEpoch iotago.EpochIndex, e
status := d.NodeStatus("V1")
testAPI := d.defaultWallet.Client.CommittedAPI()
expectedSlotStart := testAPI.TimeProvider().EpochStart(expectedEpoch)
require.Greater(d.Testing, expectedSlotStart, status.LatestAcceptedBlockSlot)

if status.LatestAcceptedBlockSlot < expectedSlotStart {
slotToWait := expectedSlotStart - status.LatestAcceptedBlockSlot
Expand Down

0 comments on commit d5c7c41

Please sign in to comment.