Skip to content
Open
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 internal/service/currency.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var BuiltinCurrencies = []CurrencyInfo{
{Code: "CZK", Symbol: "Kč", Name: "Czech Koruna"},
{Code: "HUF", Symbol: "Ft", Name: "Hungarian Forint"},
{Code: "RON", Symbol: "lei", Name: "Romanian Leu"},
{Code: "UAH", Symbol: "₴", Name: "Ukrainian Hryvnia"},
}

// currencyInfoMap provides O(1) lookup by code
Expand Down
2 changes: 1 addition & 1 deletion internal/service/currency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestGetAvailableCurrencies(t *testing.T) {

// Verify first and last entries match
assert.Equal(t, "USD", currencies[0].Code)
assert.Equal(t, "RON", currencies[len(currencies)-1].Code)
assert.Equal(t, "UAH", currencies[len(currencies)-1].Code)
}

func TestSupportedCurrencies_DerivedFromBuiltin(t *testing.T) {
Expand Down
Loading