-modify mock currency spec

This commit is contained in:
Florian Dold 2023-10-10 15:21:20 +02:00
parent 47fdfc64a2
commit 5d1e0ae008
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1445,6 +1445,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
},
},
};
return kudosResp;
} else if (req.scope.currency === "TESTKUDOS") {
const testkudosResp: GetCurrencySpecificationResponse = {
currencySpecification: {
@ -1453,7 +1454,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
fractional_input_digits: 0,
fractional_normal_digits: 0,
fractional_trailing_zero_digits: 0,
is_currency_name_leading: true,
is_currency_name_leading: false,
alt_unit_names: {},
},
};