Update release branch 2.30.x (#20925)

* fix_: use usd as default currency (#20916)

This commit uses "usd" currency as default for the fiat price calculation for the tokens. 

Every currency has a different format - decimal which we need to rely on a separate RPC to fetch currency format and do the calculation. So, this PR will change to use usd as the default for v2.30.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>

* Bump status-go version

---------

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
Co-authored-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
Icaro Motta 2024-07-30 16:09:44 -03:00 committed by GitHub
parent 0f15c0192d
commit 29203e57ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -20,9 +20,9 @@
(re-frame/reg-sub (re-frame/reg-sub
:profile/currency :profile/currency
:<- [:profile/profile] (fn []
(fn [{:keys [currency]}] ;; returns "usd" by default as the support for other currencies are in progress on Mobile
(or currency constants/profile-default-currency))) constants/profile-default-currency))
(re-frame/reg-sub (re-frame/reg-sub
:profile/syncing-on-mobile-network? :profile/syncing-on-mobile-network?

View File

@ -4,6 +4,6 @@
"owner": "status-im", "owner": "status-im",
"repo": "status-go", "repo": "status-go",
"version": "release/0.182.x", "version": "release/0.182.x",
"commit-sha1": "9570cd2a270e2f690ac6466ff9417d8a24f24c91", "commit-sha1": "003058915e1a613160e7ee1f976185823a9cd465",
"src-sha256": "10h79np73wrgks99b0z6k52b7ipzn29l5cfbhkv06g9ss6acdgss" "src-sha256": "09infws69nxwdxfqcr5z6i4sxkgzwnflxiira378pd2qpfw7c2c5"
} }