diff --git a/docs/release-notes/change-log.md b/docs/release-notes/change-log.md index 7dd49cf1b..7b955b39f 100644 --- a/docs/release-notes/change-log.md +++ b/docs/release-notes/change-log.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed * Fixed metrics for time spent in eth_calls within modules stats (server and GUI) +* Fixed `undo` json message ## v1.1.18 diff --git a/tui/print.go b/tui/print.go index c3c0a5880..84bc6132e 100644 --- a/tui/print.go +++ b/tui/print.go @@ -365,5 +365,5 @@ func printUndo(lastGoodClock *pbsubstreams.BlockRef, cursor string) { fmt.Printf("\nNext cursor: %s\n", cursor) } func printUndoJSON(lastGoodClock *pbsubstreams.BlockRef, cursor string) { - fmt.Printf("{\"undo_until\":{\"num\":%d,\"id\":%s\",\"next_cursor\":\"%s\"}\n", lastGoodClock.Number, lastGoodClock.Id, cursor) + fmt.Printf("{\"undo_until\":{\"num\":%d,\"id\":%s\",\"next_cursor\":\"%s\"}}\n", lastGoodClock.Number, lastGoodClock.Id, cursor) }