|
|
@ -33,7 +33,7 @@ function PendingTx () { |
|
|
|
|
|
|
|
|
|
|
|
PendingTx.prototype.render = function () { |
|
|
|
PendingTx.prototype.render = function () { |
|
|
|
const props = this.props |
|
|
|
const props = this.props |
|
|
|
const { currentCurrency, blockGasLimit, computedBalances } = props |
|
|
|
const { currentCurrency, blockGasLimit } = props |
|
|
|
|
|
|
|
|
|
|
|
const conversionRate = props.conversionRate |
|
|
|
const conversionRate = props.conversionRate |
|
|
|
const txMeta = this.gatherTxMeta() |
|
|
|
const txMeta = this.gatherTxMeta() |
|
|
@ -42,8 +42,8 @@ PendingTx.prototype.render = function () { |
|
|
|
// Account Details
|
|
|
|
// Account Details
|
|
|
|
const address = txParams.from || props.selectedAddress |
|
|
|
const address = txParams.from || props.selectedAddress |
|
|
|
const identity = props.identities[address] || { address: address } |
|
|
|
const identity = props.identities[address] || { address: address } |
|
|
|
const account = computedBalances[address] |
|
|
|
const account = props.accounts[address] |
|
|
|
const balance = account ? account.ethBalance : '0x0' |
|
|
|
const balance = account ? account.balance : '0x0' |
|
|
|
|
|
|
|
|
|
|
|
// recipient check
|
|
|
|
// recipient check
|
|
|
|
const isValidAddress = !txParams.to || util.isValidAddress(txParams.to) |
|
|
|
const isValidAddress = !txParams.to || util.isValidAddress(txParams.to) |
|
|
|