mirror of
https://github.com/status-im/nim-raft.git
synced 2025-02-09 19:54:37 +00:00
Remove logs
This commit is contained in:
parent
5bba48662c
commit
a880bd4433
@ -231,7 +231,6 @@ proc consensusstatemachineMain*() =
|
||||
timeNow += 500.milliseconds
|
||||
sm.tick(timeNow)
|
||||
output = sm.poll()
|
||||
echo output
|
||||
check output.logEntries.len == 0
|
||||
# When the node became a leader it will produce empty message in the log
|
||||
# and because we have single node cluster the node will commit that entry immediately
|
||||
|
Loading…
x
Reference in New Issue
Block a user