1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-19 04:50:02 +02:00

Minor fixes.

This commit is contained in:
Henrik Hautakoski 2024-03-07 18:09:14 +01:00
parent 4c843f16bf
commit aeac190c94
6 changed files with 17 additions and 18 deletions

View file

@ -81,7 +81,7 @@ var validateCmd = &cobra.Command{
log.WithError(msg).Error("Error when reading stream")
case message.ActionTrace:
if block_num > 0 {
var diff int32 = int32(msg.BlockNum - block_num)
diff := int32(msg.BlockNum - block_num)
if diff < 0 || diff > 1 {
log.WithFields(log.Fields{
"current_block": block_num,