From 01e83df471802d3253953b00672af0bc879403fe Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 24 Mar 2020 15:25:04 +0530 Subject: helpers for auditor integration test --- src/operations/pay.ts | 4 ---- src/operations/refresh.ts | 3 ++- src/operations/withdraw.ts | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/operations') diff --git a/src/operations/pay.ts b/src/operations/pay.ts index b8a63cb11..9a8017e4e 100644 --- a/src/operations/pay.ts +++ b/src/operations/pay.ts @@ -318,10 +318,6 @@ async function getCoinsForPayment( .iterIndex(Stores.coins.exchangeBaseUrlIndex, exchange.baseUrl) .toArray(); - const denoms = await ws.db - .iterIndex(Stores.denominations.exchangeBaseUrlIndex, exchange.baseUrl) - .toArray(); - if (!coins || coins.length === 0) { continue; } diff --git a/src/operations/refresh.ts b/src/operations/refresh.ts index 092d9f154..c04b79278 100644 --- a/src/operations/refresh.ts +++ b/src/operations/refresh.ts @@ -412,7 +412,8 @@ async function refreshReveal( coinSource: { type: CoinSourceType.Refresh, oldCoinPub: refreshSession.meltCoinPub, - } + }, + suspended: false, }; coins.push(coin); diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts index 09d912bcc..37993023e 100644 --- a/src/operations/withdraw.ts +++ b/src/operations/withdraw.ts @@ -240,6 +240,7 @@ async function processPlanchet( reservePub: planchet.reservePub, withdrawSessionId: withdrawalSessionId, }, + suspended: false, }; let withdrawSessionFinished = false; -- cgit v1.2.3