Merge PR #2917: Print commit ID in hex

This commit is contained in:
Alexander Bezobchuk 2018-11-27 12:24:53 -05:00 committed by Christopher Goes
parent f8ee8a7f78
commit cdb027e914
2 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,8 @@ IMPROVEMENTS
- #2821 Codespaces are now strings
- #2779 Introduce `ValidateBasic` to the `Tx` interface and call it in the ante
handler.
- #2825 More staking and distribution invariants
- #2825 More staking and distribution invariants
* #2912 Print commit ID in hex when commit is synced.
* Tendermint
- #2796 Update to go-amino 0.14.1

View File

@ -805,7 +805,7 @@ func (app *BaseApp) Commit() (res abci.ResponseCommit) {
commitID := app.cms.Commit()
// TODO: this is missing a module identifier and dumps byte array
app.Logger.Debug("Commit synced",
"commit", commitID,
"commit", fmt.Sprintf("%X", commitID),
)
// Reset the Check state to the latest committed