aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/evm/vm.go2
1 files changed, 1 insertions, 1 deletions
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