// updateStateObject writes the given object to the trie.
updateStateObject writes the given object to the trie.
// updateStateObject writes the given object to the trie .
func (shard *StateDBManage) updateStateObject(cointyp string, addr common.Address, stateObject *stateObject) {
	self, err := shard.GetStateDb(cointyp, addr)
	if err != nil {
		log.Error("sharding_statedb", "sharding_updateStateObject:", err)
		return
	}
	self.updateStateObject(stateObject)
}
func ( shard * StateDBManage ) updateStateObject ( cointyp string , addr common . Address , stateObject * stateObject ) { self , err := shard . GetStateDb ( cointyp , addr ) if err != nil { log . Error ( " " , " " , err ) return } self . updateStateObject ( stateObject ) }
updateStateObject writes the given object to the trie.
updateStateObject writes the given object to the trie .