|
|
@ -29,6 +29,7 @@ function mapStateToProps (state) { |
|
|
|
provider: state.metamask.provider, |
|
|
|
provider: state.metamask.provider, |
|
|
|
conversionRate: state.metamask.conversionRate, |
|
|
|
conversionRate: state.metamask.conversionRate, |
|
|
|
currentCurrency: state.metamask.currentCurrency, |
|
|
|
currentCurrency: state.metamask.currentCurrency, |
|
|
|
|
|
|
|
blockGasLimit: state.metamask.currentBlockGasLimit, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -40,7 +41,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, |
|
|
|
unapprovedMsgs, unapprovedPersonalMsgs, conversionRate } = props |
|
|
|
unapprovedMsgs, unapprovedPersonalMsgs, conversionRate, blockGasLimit } = props |
|
|
|
|
|
|
|
|
|
|
|
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network) |
|
|
|
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network) |
|
|
|
|
|
|
|
|
|
|
@ -107,6 +108,7 @@ ConfirmTxScreen.prototype.render = function () { |
|
|
|
identities: props.identities, |
|
|
|
identities: props.identities, |
|
|
|
conversionRate, |
|
|
|
conversionRate, |
|
|
|
currentCurrency, |
|
|
|
currentCurrency, |
|
|
|
|
|
|
|
blockGasLimit, |
|
|
|
// 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), |
|
|
|