Fix gas editor doubling-up on gas (#5820)
This commit is contained in:
parent
f9033facd3
commit
64e6d36944
@ -421,7 +421,6 @@ export default class TransferStore {
|
||||
const tokenBalance = this.getTokenBalance();
|
||||
const { eth, token } = this.getValues(gasTotal);
|
||||
|
||||
let totalEth = gasTotal;
|
||||
let totalError = null;
|
||||
let valueError = null;
|
||||
|
||||
@ -445,7 +444,7 @@ export default class TransferStore {
|
||||
this.totalError = totalError;
|
||||
this.valueError = valueError;
|
||||
this.gasStore.setErrorTotal(totalError);
|
||||
this.gasStore.setEthValue(totalEth);
|
||||
this.gasStore.setEthValue(eth.sub(gasTotal));
|
||||
|
||||
this.total = this.api.util.fromWei(eth).toFixed();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user