mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Iranian currency
This commit is contained in:
parent
43709beec1
commit
35d7ecbe5f
@ -113,6 +113,12 @@
|
||||
"locale": "hi-HN",
|
||||
"source": "CoinDesk"
|
||||
},
|
||||
"IRT": {
|
||||
"endPointKey": "IRT",
|
||||
"symbol": "تومان",
|
||||
"locale": "fa-IR",
|
||||
"source": "Exir"
|
||||
},
|
||||
"IRR": {
|
||||
"endPointKey": "IRR",
|
||||
"symbol": "﷼",
|
||||
|
@ -42,9 +42,9 @@ describe('currency', () => {
|
||||
// assert.ok(cur.BTC_LBP > 0);
|
||||
|
||||
// test Exir rate source
|
||||
await currency.setPrefferedCurrency(FiatUnit.IRR);
|
||||
await currency.setPrefferedCurrency(FiatUnit.IRT);
|
||||
await currency.init(true);
|
||||
cur = JSON.parse(await AsyncStorage.getItem(currency.EXCHANGE_RATES));
|
||||
assert.ok(cur.BTC_IRR > 0);
|
||||
assert.ok(cur.BTC_IRT > 0);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user