Skip to content

Commit

Permalink
cmd/tomo: Add 'repair-snapshot' command to fix 'Masternodes lists are…
Browse files Browse the repository at this point in the history
… different in checkpoint header & snapshot' error (#499)

* feat: add db repair-snapshot command
* fix: make datadir flag required
* fix: limit first 150 masternode
* refactor: use state to retrieve getCandidateCap instead of making a contract call
* chore: rename confusing variable names
  • Loading branch information
tuanha-98 authored Jan 7, 2025
1 parent 78e8ce0 commit 043410b
Show file tree
Hide file tree
Showing 3 changed files with 480 additions and 0 deletions.
Loading

0 comments on commit 043410b

Please sign in to comment.