diff options
-rw-r--r-- | manifest.json | 4 | ||||
-rw-r--r-- | src/renderHtml.tsx | 2 | ||||
-rw-r--r-- | src/types.ts | 2 | ||||
-rw-r--r-- | src/wallet.ts | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/manifest.json b/manifest.json index 94f02c86b..7217b8668 100644 --- a/manifest.json +++ b/manifest.json @@ -4,8 +4,8 @@ "name": "GNU Taler Wallet (git)", "description": "Privacy preserving and transparent payments", "author": "GNU Taler Developers", - "version": "0.6.28", - "version_name": "0.1.4", + "version": "0.6.29", + "version_name": "0.1.5", "minimum_chrome_version": "49", "minimum_opera_version": "36", diff --git a/src/renderHtml.tsx b/src/renderHtml.tsx index fe6646196..c858a8842 100644 --- a/src/renderHtml.tsx +++ b/src/renderHtml.tsx @@ -25,7 +25,7 @@ import {AmountJson, Contract, Amounts} from "./types"; export function prettyAmount(amount: AmountJson) { let v = amount.value + amount.fraction / Amounts.fractionalBase; - return `${v.toFixed(2)} ${amount.currency}`; + return `${v} ${amount.currency}`; } export function renderContract(contract: Contract): JSX.Element { diff --git a/src/types.ts b/src/types.ts index 9de769dfe..b04453767 100644 --- a/src/types.ts +++ b/src/types.ts @@ -509,7 +509,7 @@ export type PayCoinInfo = Array<{ updatedCoin: CoinRecord, sig: CoinPaySig }>; export namespace Amounts { - export const fractionalBase = 1e6; + export const fractionalBase = 1e8; export interface Result { amount: AmountJson; diff --git a/src/wallet.ts b/src/wallet.ts index 354072130..658b00539 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -728,6 +728,7 @@ export class Wallet { private async processPreCoin(preCoin: PreCoinRecord, retryDelayMs = 200): Promise<void> { + return; if (this.processPreCoinConcurrent >= 1) { console.log("delaying processPreCoin"); setTimeout(() => this.processPreCoin(preCoin, retryDelayMs * 2), |