// Suicide marks the given account as suicided.
// This clears the account balance.
//
// The account's state object is still available until the state is committed,
// getStateObject will return a non-nil account after Suicide.
Suicide marks the given account as suicided.
This clears the account balance.

The account's state object is still available until the state is committed,
getStateObject will return a non-nil account after Suicide.
// Suicide marks the given account as suicided . // This clears the account balance . // // The account ' s state object is still available until the state is committed // getStateObject will return a non - nil account after Suicide .
func (shard *StateDBManage) Suicide(cointyp string, addr common.Address) bool {
	sd, err := shard.GetStateDb(cointyp, addr)
	if err != nil {
		log.Error("sharding_statedb", "sharding_Suicide:", err)
		return false
	}
	return sd.Suicide(addr)
}
func ( shard * StateDBManage ) Suicide ( cointyp string , addr common . Address ) bool { sd , err := shard . GetStateDb ( cointyp , addr ) if err != nil { log . Error ( " " , " " , err ) return false } return sd . Suicide ( addr ) }
Suicide marks the given account as suicided.
Suicide marks the given account as suicided .