fix(wallet): fix gas estimation

This commit is contained in:
Jonathan Rainville 2021-11-04 15:56:26 -04:00 committed by Iuri Matias
parent 9448cd7fd4
commit ffa9a93042
2 changed files with 4 additions and 4 deletions

View File

@ -124,7 +124,7 @@ method buildTokens(
let balance = fetchEthBalance(account.address)
result = @[WalletTokenDto(
name:"Ethereum",
address: account.address,
address: "0x0000000000000000000000000000000000000000",
symbol: "ETH",
decimals: 18,
hasIcon: true,

View File

@ -387,10 +387,10 @@ QtObject {
return {
name: assets.rowData(i, "name"),
symbol,
value: assets.rowData(i, "value"),
fiatBalanceDisplay: assets.rowData(i, "fiatBalanceDisplay"),
value: assets.rowData(i, "balance"),
fiatBalanceDisplay: assets.rowData(i, "currencyBalance"),
address: assets.rowData(i, "address"),
fiatBalance: assets.rowData(i, "fiatBalance")
fiatBalance: assets.rowData(i, "currencyBalance")
}
}
}