diff options
author | Determinant <[email protected]> | 2020-09-20 21:32:48 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-20 21:32:48 -0400 |
commit | 8cc21e15b96ccbe246bb06bece08c22df786069d (patch) | |
tree | 25a10d824f4b2140ab070f8bfbde44197f5beb31 /plugin/evm | |
parent | 9780b8dad893ac5ee3d1c3f365487c408e10527f (diff) |
Diffstat (limited to 'plugin/evm')
-rw-r--r-- | plugin/evm/vm.go | 2 |
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 |