Backporting to beta (#3176)
* Linux build case sensitivity fix (#3161) * Make the footer a bit less ugly. (#3160) * Make the footer a bit less ugly. * Whitespace. * Enabling personal RPC over IPC by default (#3165) * Push precompiled for beta/stable, npm only master (#3163) * Push precompiled for beta/stable, npm only master * Release to npm before comitting updates * Fixes #3171 (#3175) * Remove extra cd js (#3177) * Back to real root (#3178)
This commit is contained in:
@@ -539,7 +539,7 @@ export default class GasPriceSelector extends Component {
|
||||
const gasPriceBIdx = gasPriceAIdx + 1;
|
||||
|
||||
if (gasPriceBIdx === N + 1) {
|
||||
const gasPrice = gasPrices[gasPriceAIdx];
|
||||
const gasPrice = gasPrices[gasPriceAIdx].round();
|
||||
this.props.onChange(event, gasPrice);
|
||||
return;
|
||||
}
|
||||
@@ -548,7 +548,9 @@ export default class GasPriceSelector extends Component {
|
||||
const gasPriceB = gasPrices[gasPriceBIdx];
|
||||
|
||||
const mult = Math.round((sliderValue % 1) * 100) / 100;
|
||||
const gasPrice = gasPriceA.plus(gasPriceB.minus(gasPriceA).times(mult));
|
||||
const gasPrice = gasPriceA
|
||||
.plus(gasPriceB.minus(gasPriceA).times(mult))
|
||||
.round();
|
||||
|
||||
this.setSliderValue(sliderValue, gasPrice);
|
||||
this.props.onChange(event, gasPrice);
|
||||
|
||||
@@ -411,6 +411,7 @@ export default class Transfer extends Component {
|
||||
const { api } = this.context;
|
||||
const { account } = this.props;
|
||||
const { data, gas, gasPrice, recipient, value } = this.state;
|
||||
|
||||
const options = {
|
||||
from: account.address,
|
||||
to: recipient,
|
||||
|
||||
Reference in New Issue
Block a user