commit ab497d1e773ede40fdcacf5d3aa1611683ffabd3 parent 5d74b713adf13e611dd2c67948d0cb48c8eb08b5 Author: Antoine A <> Date: Tue, 21 Nov 2023 15:00:56 +0000 Fix currency and currency_specification Diffstat:
| M | core/api-bank-conversion-info.rst | | | 10 | ++++++++-- |
| M | core/api-corebank.rst | | | 7 | +++++-- |
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/core/api-bank-conversion-info.rst b/core/api-bank-conversion-info.rst @@ -52,10 +52,16 @@ is used by wallets for withdrawals that involve a currency conversion. name: "taler-conversion-info"; // Currency used by this bank. - regional_currency: CurrencySpecification; + regional_currency: string; + + // How the bank SPA should render this currency. + regional_currency_specification: CurrencySpecification; // External currency used during conversion. - fiat_currency: CurrencySpecification; + fiat_currency: string; + + // How the bank SPA should render this currency. + fiat_currency_specification: CurrencySpecification; // Extra conversion rate information. // Only present if server opts in to report the static conversion rate. diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -88,9 +88,12 @@ Config // If 'true' account can delete themselves // If 'false' only the admin can delete accounts allow_deletions: boolean; - + // Currency used by this bank. - currency: CurrencySpecification; + currency: string; + + // How the bank SPA should render this currency. + currency_specification: CurrencySpecification; }