aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/send.js')
-rw-r--r--ui/app/send.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/send.js b/ui/app/send.js
index d92a6f2d5..2e6409f32 100644
--- a/ui/app/send.js
+++ b/ui/app/send.js
@@ -100,12 +100,17 @@ function SendTransactionScreen () {
SendTransactionScreen.prototype.componentWillMount = function () {
const { newTx } = this.state
+ const { address } = this.props
Promise.all([
this.props.dispatch(getGasPrice()),
- this.props.dispatch(estimateGas()),
+ this.props.dispatch(estimateGas({
+ from: address,
+ gas: '746a528800',
+ })),
])
.then(([blockGasPrice, estimatedGas]) => {
+ console.log({ blockGasPrice, estimatedGas})
this.setState({
newTx: {
...newTx,