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