Skip to content

Commit

Permalink
Fix undo typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeless committed Oct 25, 2023
1 parent c98b765 commit d5a2a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/release-notes/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tui/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit d5a2a9c

Please sign in to comment.