diff --git a/state/executor.go b/state/executor.go index d8cf8d3472..362b103ad6 100644 --- a/state/executor.go +++ b/state/executor.go @@ -1342,7 +1342,7 @@ func (t *Transition) RevertToSnapshot(snapshot int) error { }) if idx == len(t.journalRevisions) || t.journalRevisions[idx].ID != snapshot { - return fmt.Errorf("journal revision id %v cannot be reverted", snapshot) + return fmt.Errorf("journal revision id %d cannot be reverted", snapshot) } journalIndex := t.journalRevisions[idx].Index