aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-11-18 05:23:25 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-11-21 03:42:46 +0800
commitc6713e93adcaeeba1ec559d44135bb62c76d2538 (patch)
treeb2f60bbaf327daa870f8e2b2615faaabb0470676 /ui/app/components/customize-gas-modal/index.js
parentfbd04a6af6e9eda22eebaae27d712ae08272c131 (diff)
downloadtangerine-wallet-browser-c6713e93adcaeeba1ec559d44135bb62c76d2538.tar.gz
tangerine-wallet-browser-c6713e93adcaeeba1ec559d44135bb62c76d2538.tar.zst
tangerine-wallet-browser-c6713e93adcaeeba1ec559d44135bb62c76d2538.zip
Fix bug where gas param was not a string
Prevented sending transactions. Fixes #2598
Diffstat (limited to 'ui/app/components/customize-gas-modal/index.js')
-rw-r--r--ui/app/components/customize-gas-modal/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js
index 485dacf90..6d27702e8 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -244,7 +244,7 @@ CustomizeGasModal.prototype.render = function () {
min: 1,
// max: 100000,
step: 1,
- onChange: value => this.convertAndSetGasLimit(value),
+ onChange: value => this.convertAndSetGasLimit(String(value)),
title: 'Gas Limit',
copy: 'We calculate the suggested gas limit based on network success rates.',
}),