diff options
Diffstat (limited to 'lib/wallet/helpers.ts')
-rw-r--r-- | lib/wallet/helpers.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/wallet/helpers.ts b/lib/wallet/helpers.ts index 99913e558..477fce33f 100644 --- a/lib/wallet/helpers.ts +++ b/lib/wallet/helpers.ts @@ -18,6 +18,8 @@ /** * Smaller helper functions that do not depend * on the emscripten machinery. + * + * @author Florian Dold */ import {AmountJson} from "./types"; @@ -36,7 +38,7 @@ export function amountToPretty(amount: AmountJson): string { /** - * Canonicalize a base url, typically for the mint. + * Canonicalize a base url, typically for the exchange. * * See http://api.taler.net/wallet.html#general */ @@ -62,4 +64,4 @@ export function parsePrettyAmount(pretty: string): AmountJson { fraction: res[2] ? (parseFloat(`0.${res[2]}`) * 1e-6) : 0, currency: res[3] } -}
\ No newline at end of file +} |