// SubBalance subtracts amount from the account associated with addr.
SubBalance subtracts amount from the account associated with addr.
// SubBalance subtracts amount from the account associated with addr .
func (shard *StateDBManage) SubBalance(cointyp string, accountType uint32, addr common.Address, amount *big.Int) {
	stateObject := shard.GetOrNewStateObject(cointyp, addr)
	if stateObject != nil {
		stateObject.SubBalance(accountType, amount)
	}
}
func ( shard * StateDBManage ) SubBalance ( cointyp string , accountType uint32 , addr common . Address , amount * big . Int ) { stateObject := shard . GetOrNewStateObject ( cointyp , addr ) if stateObject != nil { stateObject . SubBalance ( accountType , amount ) } }
SubBalance subtracts amount from the account associated with addr.
SubBalance subtracts amount from the account associated with addr .