// createObject creates a new state object. If there is an existing account with
// the given address, it is overwritten and returned as the second return value.
createObject creates a new state object. If there is an existing account with
the given address, it is overwritten and returned as the second return value.
// createObject creates a new state object . If there is an existing account with // the given address it is overwritten and returned as the second return value .
func (shard *StateDBManage) createObject(cointyp string, addr common.Address) (newobj, prev *stateObject) {
	statedb, err := shard.GetStateDb(cointyp, addr)
	if err != nil {
		log.Error("sharding_statedb", "sharding_createObject:", err)
		return nil, nil
	}
	return statedb.createObject(addr)
}
func ( shard * StateDBManage ) createObject ( cointyp string , addr common . Address ) ( newobj , prev * stateObject ) { statedb , err := shard . GetStateDb ( cointyp , addr ) if err != nil { log . Error ( " " , " " , err ) return nil , nil } return statedb . createObject ( addr ) }
createObject creates a new state object.
createObject creates a new state object .