From ffa9a93042c02a9ff3cdd3f45cc8e48c03d0202b Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 4 Nov 2021 15:56:26 -0400 Subject: [PATCH] fix(wallet): fix gas estimation --- src/app_service/service/wallet_account/service.nim | 2 +- ui/imports/utils/Utils.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app_service/service/wallet_account/service.nim b/src/app_service/service/wallet_account/service.nim index 870005f9e5..a9c2046228 100644 --- a/src/app_service/service/wallet_account/service.nim +++ b/src/app_service/service/wallet_account/service.nim @@ -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, diff --git a/ui/imports/utils/Utils.qml b/ui/imports/utils/Utils.qml index 07faf5a2ac..8ccaed08a8 100644 --- a/ui/imports/utils/Utils.qml +++ b/ui/imports/utils/Utils.qml @@ -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") } } }