diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-15 16:59:00 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-15 16:59:00 +0100 |
commit | 4966376839365536923cd6cfbb86d15071432e1a (patch) | |
tree | 6658b4a84df5ba6a0189e6d79e37fb0cc7fb597a /src/crypto/workers/cryptoImplementation.ts | |
parent | f4043a0f8114b1b8612e01a5cdf65b8d6ffc6f00 (diff) | |
download | wallet-core-4966376839365536923cd6cfbb86d15071432e1a.tar.xz |
group refresh sessions into groups for nicer history
Diffstat (limited to 'src/crypto/workers/cryptoImplementation.ts')
-rw-r--r-- | src/crypto/workers/cryptoImplementation.ts | 5 |
1 files changed, 0 insertions, 5 deletions
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, }; |