Fix revert for non finalized blocks (#1479)

* fix: temporal modification to make revert works for non finalized blocks

* fix: print info when the number of blocks asked to revert is higher than the number of reversible blocks

* fix: remove function get_db_path_for_subcommand and remove it from all subcommands

* fix: revert only non finalized blocks

* fix: improve printed information for revert command

* fix: new wasm file

* chore: remove unused parameter

* fix: revert log logic

* fix: subcommands should take sub_matches instead of matches

* fix: removing confusing message
This commit is contained in:
Marcio Diaz
2019-01-21 13:52:33 +01:00
committed by Gav Wood
parent aad569a1e6
commit b57486c74f
6 changed files with 28 additions and 64 deletions