Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix wrong btc/ltc transaction timestamp during header sync
- Ethereum bugfix: show all internal transactions that share the same transaction ID
- Allow up to 6 unused BTC/LTC accounts (previously 5)
- Add support for New Zealand Dollar (NZD)

## v4.48.4
- macOS: fix potential USB communication issue with BitBox02 bootloaders <v1.1.2 and firmwares <v9.23.1
Expand Down
2 changes: 2 additions & 0 deletions backend/rates/gecko.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ var (
"HKD": "hkd",
"BRL": "brl",
"NOK": "nok",
"NZD": "nzd",
"SEK": "sek",
"PLN": "pln",
"CZK": "czk",
Expand All @@ -124,6 +125,7 @@ var (
"hkd": "HKD",
"brl": "BRL",
"nok": "NOK",
"nzd": "NZD",
"sek": "SEK",
"pln": "PLN",
"czk": "CZK",
Expand Down
3 changes: 2 additions & 1 deletion backend/rates/rates.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
const (
// Latest rates are fetched for all these (coin, fiat) pairs.
simplePriceAllIDs = "bitcoin,litecoin,ethereum,basic-attention-token,dai,chainlink,maker,usd-coin,tether,0x,wrapped-bitcoin,pax-gold"
simplePriceAllCurrencies = "usd,eur,chf,gbp,jpy,krw,cny,rub,cad,aud,ils,btc,sgd,hkd,brl,nok,sek,pln,czk"
simplePriceAllCurrencies = "usd,eur,chf,gbp,jpy,krw,cny,rub,cad,aud,ils,btc,sgd,hkd,brl,nok,nzd,sek,pln,czk"
// RatesEventSubject is the Subject of the event generated by new rates fetching.
RatesEventSubject = "rates"

Expand Down Expand Up @@ -81,6 +81,7 @@ const (
JPY Fiat = "JPY"
KRW Fiat = "KRW"
NOK Fiat = "NOK"
NZD Fiat = "NZD"
PLN Fiat = "PLN"
RUB Fiat = "RUB"
SEK Fiat = "SEK"
Expand Down
2 changes: 1 addition & 1 deletion frontends/web/src/api/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type NativeCoinCode = 'btc' | 'tbtc' | 'rbtc' | 'ltc' | 'tltc' | 'eth' |

export type AccountCode = string;

export type Fiat = 'AUD' | 'BRL' | 'BTC' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'EUR' | 'GBP' | 'HKD' | 'ILS' | 'JPY' | 'KRW' | 'NOK' | 'PLN' | 'RUB' | 'sat' | 'SEK' | 'SGD' | 'USD';
export type Fiat = 'AUD' | 'BRL' | 'BTC' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'EUR' | 'GBP' | 'HKD' | 'ILS' | 'JPY' | 'KRW' | 'NOK' | 'NZD' | 'PLN' | 'RUB' | 'sat' | 'SEK' | 'SGD' | 'USD';

export type ConversionUnit = Fiat | 'sat'

Expand Down
1 change: 1 addition & 0 deletions frontends/web/src/hooks/localized.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const useLocalizedFormattedCurrencies = (selectedLang = 'en') => {
{ currency: 'JPY', displayName: 'Japanese Yen' },
{ currency: 'KRW', displayName: 'South Korean Won' },
{ currency: 'NOK', displayName: 'Norwegian Krone' },
{ currency: 'NZD', displayName: 'New Zealand Dollar' },
{ currency: 'PLN', displayName: 'Polish Zloty' },
{ currency: 'RUB', displayName: 'Russian ruble' },
{ currency: 'SEK', displayName: 'Swedish Krona' },
Expand Down
1 change: 1 addition & 0 deletions frontends/web/src/routes/account/send/feetargets.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe('routes/account/send/feetargets', () => {
GBP: '0.02',
HKD: '19880',
NOK: '0.02',
NZD: '0.02',
ILS: '0.02',
JPY: '1.30',
KRW: '14.43',
Expand Down