|
|
|
@ -29,6 +29,7 @@ function mapStateToProps (state) { |
|
|
|
|
conversionRate: state.metamask.conversionRate, |
|
|
|
|
currentCurrency: state.metamask.currentCurrency, |
|
|
|
|
blockGasLimit: state.metamask.currentBlockGasLimit, |
|
|
|
|
computedBalances: state.metamask.computedBalances, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -39,7 +40,7 @@ function ConfirmTxScreen () { |
|
|
|
|
|
|
|
|
|
ConfirmTxScreen.prototype.render = function () { |
|
|
|
|
const props = this.props |
|
|
|
|
const { network, provider, unapprovedTxs, currentCurrency, |
|
|
|
|
const { network, provider, unapprovedTxs, currentCurrency, computedBalances, |
|
|
|
|
unapprovedMsgs, unapprovedPersonalMsgs, conversionRate, blockGasLimit } = props |
|
|
|
|
|
|
|
|
|
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network) |
|
|
|
@ -104,6 +105,7 @@ ConfirmTxScreen.prototype.render = function () { |
|
|
|
|
currentCurrency, |
|
|
|
|
blockGasLimit, |
|
|
|
|
unconfTxListLength, |
|
|
|
|
computedBalances, |
|
|
|
|
// Actions
|
|
|
|
|
buyEth: this.buyEth.bind(this, txParams.from || props.selectedAddress), |
|
|
|
|
sendTransaction: this.sendTransaction.bind(this), |
|
|
|
|