changes as per Bucky's review

This commit is contained in:
Anton Kaliaev
2017-05-13 16:22:51 +02:00
parent c9cd8de9c6
commit f8fdbe3dbc
24 changed files with 83 additions and 227 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ func (s *State) CommitStateUpdateMempool(proxyAppConn proxy.AppConnConsensus, bl
s.logger.Debug("Commit.Log: " + res.Log)
}
s.logger.Info("Committed state", "hash", fmt.Sprintf("%X", res.Data))
s.logger.Info("Committed state", "hash", res.Data)
// Set the state's new AppHash
s.AppHash = res.Data
-4
View File
@@ -78,10 +78,6 @@ func (s *State) SetLogger(l log.Logger) {
s.logger = l
}
func (s *State) GetLogger() log.Logger {
return s.logger
}
func (s *State) Copy() *State {
return &State{
db: s.db,