diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-24 15:25:04 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-24 15:25:04 +0530 |
commit | 01e83df471802d3253953b00672af0bc879403fe (patch) | |
tree | 80f763be28055139221fafb50e8ded7a89b8bc3d /src/operations | |
parent | c4d289956275677b24459237d13ed8c23a606079 (diff) | |
download | wallet-core-01e83df471802d3253953b00672af0bc879403fe.tar.xz |
helpers for auditor integration test
Diffstat (limited to 'src/operations')
-rw-r--r-- | src/operations/pay.ts | 4 | ||||
-rw-r--r-- | src/operations/refresh.ts | 3 | ||||
-rw-r--r-- | src/operations/withdraw.ts | 1 |
3 files changed, 3 insertions, 5 deletions
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; |