wallet-core: introduce tiny digits

This commit is contained in:
Florian Dold 2023-08-05 23:56:07 +02:00
parent 0547df9538
commit 44aeaba7b4
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 0 deletions

View File

@ -420,6 +420,7 @@ export const codecForGetCurrencyInfoRequest =
export interface GetCurrencyInfoResponse {
decimalSeparator: string;
numFractionalDigits: number;
numTinyDigits: number;
/**
* Is the currency name leading or trailing?
*/

View File

@ -1404,6 +1404,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
decimalSeparator: ",",
isCurrencyNameLeading: false,
numFractionalDigits: 2,
numTinyDigits: 1,
};
return resp;
}