mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 03:49:59 +00:00
chore(wallet): added param to fetchOrGetCachedWalletBalances call to align with statusgo change
This commit is contained in:
parent
017bae3a51
commit
93e247c260
@ -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:
|
||||
|
@ -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
2
vendor/status-go
vendored
@ -1 +1 @@
|
||||
Subproject commit 233f2f9a2afaf81e459f0025e390a6e58964ea5c
|
||||
Subproject commit d07e61f6157dce56324a1c6814f31515b62eee50
|
Loading…
x
Reference in New Issue
Block a user