chore(wallet): added param to fetchOrGetCachedWalletBalances call to align with statusgo change

This commit is contained in:
Sale Djenic 2024-12-04 08:46:10 +01:00 committed by saledjenic
parent 017bae3a51
commit 93e247c260
3 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -132,6 +132,7 @@ rpc(getWalletToken, "wallet"):
rpc(fetchOrGetCachedWalletBalances, "wallet"):
accounts: seq[string]
forceRefresh: bool
rpc(fetchMarketValues, "wallet"):
symbols: seq[string]

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit 233f2f9a2afaf81e459f0025e390a6e58964ea5c
Subproject commit d07e61f6157dce56324a1c6814f31515b62eee50