From 8cc21e15b96ccbe246bb06bece08c22df786069d Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 20 Sep 2020 21:32:48 -0400 Subject: ... --- plugin/evm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index 140a0e2..9ad7411 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -899,7 +899,7 @@ func (vm *VM) GetSpendableCanonical(keys []*crypto.PrivateKeySECP256K1R, assetID if assetID.Equals(vm.ctx.AVAXAssetID) { balance = new(big.Int).Div(state.GetBalance(addr), x2cRate).Uint64() } else { - balance = new(big.Int).Div(state.GetBalanceMultiCoin(addr, assetID.Key()), x2cRate).Uint64() + balance = state.GetBalanceMultiCoin(addr, assetID.Key()).Uint64() } if balance == 0 { continue -- cgit v1.2.3-70-g09d2