From 83af702f1cae043902e23e9358c3e036ddca8d33 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 Jun 2020 16:46:25 +0530 Subject: re-indent with latest version of prettier --- src/crypto/workers/cryptoImplementation.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/crypto/workers/cryptoImplementation.ts') diff --git a/src/crypto/workers/cryptoImplementation.ts b/src/crypto/workers/cryptoImplementation.ts index dc0452dc1..e0ba24e47 100644 --- a/src/crypto/workers/cryptoImplementation.ts +++ b/src/crypto/workers/cryptoImplementation.ts @@ -65,7 +65,11 @@ import { } from "../talerCrypto"; import { randomBytes } from "../primitives/nacl-fast"; import { kdf } from "../primitives/kdf"; -import { Timestamp, getTimestampNow, timestampTruncateToSecond } from "../../util/time"; +import { + Timestamp, + getTimestampNow, + timestampTruncateToSecond, +} from "../../util/time"; enum SignaturePurpose { RESERVE_WITHDRAW = 1200, @@ -368,7 +372,10 @@ export class CryptoImplementation { for (const ncd of newCoinDenoms.selectedDenoms) { const t = Amounts.add(ncd.denom.value, ncd.denom.feeWithdraw).amount; - valueWithFee = Amounts.add(valueWithFee, Amounts.mult(t, ncd.count).amount).amount; + valueWithFee = Amounts.add( + valueWithFee, + Amounts.mult(t, ncd.count).amount, + ).amount; } // melt fee @@ -406,7 +413,10 @@ export class CryptoImplementation { const coinNumber = planchets.length; const transferPriv = decodeCrock(transferPrivs[i]); const oldCoinPub = decodeCrock(meltCoin.coinPub); - const transferSecret = keyExchangeEcdheEddsa(transferPriv, oldCoinPub); + const transferSecret = keyExchangeEcdheEddsa( + transferPriv, + oldCoinPub, + ); const fresh = setupRefreshPlanchet(transferSecret, coinNumber); const coinPriv = fresh.coinPriv; const coinPub = fresh.coinPub; -- cgit v1.2.3