From 4966376839365536923cd6cfbb86d15071432e1a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 15 Dec 2019 16:59:00 +0100 Subject: group refresh sessions into groups for nicer history --- src/crypto/workers/cryptoImplementation.ts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/crypto') diff --git a/src/crypto/workers/cryptoImplementation.ts b/src/crypto/workers/cryptoImplementation.ts index 04d15fb4b..01cd797b9 100644 --- a/src/crypto/workers/cryptoImplementation.ts +++ b/src/crypto/workers/cryptoImplementation.ts @@ -395,7 +395,6 @@ export class CryptoImplementation { const newAmount = Amounts.sub(cd.coin.currentAmount, coinSpend).amount; cd.coin.currentAmount = newAmount; - cd.coin.status = CoinStatus.Dirty; const d = buildSigPS(SignaturePurpose.WALLET_COIN_DEPOSIT) .put(decodeCrock(contractTermsHash)) @@ -509,10 +508,7 @@ export class CryptoImplementation { valueOutput = Amounts.add(valueOutput, denom.value).amount; } - const refreshSessionId = encodeCrock(getRandomBytes(32)); - const refreshSession: RefreshSessionRecord = { - refreshSessionId, confirmSig: encodeCrock(confirmSig), exchangeBaseUrl, hash: encodeCrock(sessionHash), @@ -526,7 +522,6 @@ export class CryptoImplementation { valueOutput, valueWithFee, created: getTimestampNow(), - retryInfo: initRetryInfo(), finishedTimestamp: undefined, lastError: undefined, }; -- cgit v1.2.3