diff options
author | tg(x) <*@tg-x.net> | 2016-03-02 16:53:14 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2016-03-02 16:53:14 +0100 |
commit | 51d6f9fd94d05741e733b01be915afeb5572f355 (patch) | |
tree | 024ef8cab1db8543574c6be33edf9dc2da0ef6ac /lib/wallet/helpers.ts | |
parent | cd331e1855fd4c7033e43622ec0a963fefe37bdb (diff) | |
parent | 13a8f36cad4d5d2ffec788ff6b4d5b61ed4ddff9 (diff) |
Merge branch 'master' of taler.net:/var/git/wallet-webex
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 +} |