mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
comment updates for state
This commit is contained in:
@@ -23,6 +23,7 @@ func makeStorage(db dbm.DB, root []byte) merkle.Tree {
|
||||
return storage
|
||||
}
|
||||
|
||||
// The blockcache helps prevent unnecessary IAVLTree updates and garbage generation.
|
||||
type BlockCache struct {
|
||||
db dbm.DB
|
||||
backend *State
|
||||
|
@@ -134,8 +134,6 @@ func (cache *TxCache) Sync() {
|
||||
cache.backend.UpdateAccount(toStateAccount(acc))
|
||||
}
|
||||
}
|
||||
|
||||
// TODO support logs, add them to the cache somehow.
|
||||
}
|
||||
|
||||
func (cache *TxCache) AddLog(log *vm.Log) {
|
||||
|
Reference in New Issue
Block a user