From 1fea75bca3951d39c0a45faf3e903fcec77f9c4f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 9 Dec 2019 13:29:11 +0100 Subject: throttling / allow non-json requests --- src/wallet-impl/pending.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet-impl/pending.ts') diff --git a/src/wallet-impl/pending.ts b/src/wallet-impl/pending.ts index 729dcf125..022895e95 100644 --- a/src/wallet-impl/pending.ts +++ b/src/wallet-impl/pending.ts @@ -238,7 +238,7 @@ async function gatherCoinsPending( // Refreshing dirty coins is always due. await tx.iter(Stores.coins).forEach(coin => { if (coin.status == CoinStatus.Dirty) { - resp.nextRetryDelay.d_ms = 0; + resp.nextRetryDelay = { d_ms: 0 }; resp.pendingOperations.push({ givesLifeness: true, type: "dirty-coin", -- cgit v1.2.3