From 93e247c260692bff4af989e3fea83a0f56b5ca11 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Wed, 4 Dec 2024 08:46:10 +0100 Subject: [PATCH] chore(wallet): added param to fetchOrGetCachedWalletBalances call to align with statusgo change --- src/app_service/service/wallet_account/async_tasks.nim | 2 +- src/backend/backend.nim | 1 + vendor/status-go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app_service/service/wallet_account/async_tasks.nim b/src/app_service/service/wallet_account/async_tasks.nim index ceb191523d..7fe8311fe4 100644 --- a/src/app_service/service/wallet_account/async_tasks.nim +++ b/src/app_service/service/wallet_account/async_tasks.nim @@ -90,7 +90,7 @@ proc prepareTokensTask(argEncoded: string) {.gcsafe, nimcall.} = "storeResult": false } try: - let response = backend.fetchOrGetCachedWalletBalances(arg.accounts) + let response = backend.fetchOrGetCachedWalletBalances(arg.accounts, false) # TODO: think should we need to use arg.storeResult or not and if yes, is it everywhere set proprely output["result"] = response.result output["storeResult"] = %* arg.storeResult except Exception as e: diff --git a/src/backend/backend.nim b/src/backend/backend.nim index fa85c5f49b..9759f1e2a6 100644 --- a/src/backend/backend.nim +++ b/src/backend/backend.nim @@ -132,6 +132,7 @@ rpc(getWalletToken, "wallet"): rpc(fetchOrGetCachedWalletBalances, "wallet"): accounts: seq[string] + forceRefresh: bool rpc(fetchMarketValues, "wallet"): symbols: seq[string] diff --git a/vendor/status-go b/vendor/status-go index 233f2f9a2a..d07e61f615 160000 --- a/vendor/status-go +++ b/vendor/status-go @@ -1 +1 @@ -Subproject commit 233f2f9a2afaf81e459f0025e390a6e58964ea5c +Subproject commit d07e61f6157dce56324a1c6814f31515b62eee50