mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #3878 from MetaMask/hot-fix-for-new-ui
Hot fix for new ui
This commit is contained in:
commit
e1b1da9113
@ -2,6 +2,8 @@
|
||||
|
||||
## Current Master
|
||||
|
||||
- new ui: fix the confirm transaction screen
|
||||
|
||||
## 4.5.2 Wed Apr 04 2018
|
||||
|
||||
- Fix overly strict validation where transactions were rejected with hex encoded "chainId"
|
||||
|
@ -237,6 +237,7 @@ ConfirmSendEther.prototype.getData = function () {
|
||||
const { identities } = this.props
|
||||
const txMeta = this.gatherTxMeta()
|
||||
const txParams = txMeta.txParams || {}
|
||||
const account = identities ? identities[txParams.from] || {} : {}
|
||||
const { FIAT: gasFeeInFIAT, ETH: gasFeeInETH, gasFeeInHex } = this.getGasFee()
|
||||
const { FIAT: amountInFIAT, ETH: amountInETH } = this.getAmount()
|
||||
|
||||
@ -252,7 +253,7 @@ ConfirmSendEther.prototype.getData = function () {
|
||||
return {
|
||||
from: {
|
||||
address: txParams.from,
|
||||
name: identities[txParams.from].name,
|
||||
name: account.name,
|
||||
},
|
||||
to: {
|
||||
address: txParams.to,
|
||||
|
Loading…
Reference in New Issue
Block a user