diff options
Diffstat (limited to 'src/operations/pending.ts')
-rw-r--r-- | src/operations/pending.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/pending.ts b/src/operations/pending.ts index 27892df06..f0b29792d 100644 --- a/src/operations/pending.ts +++ b/src/operations/pending.ts @@ -365,9 +365,9 @@ async function gatherPurchasePending( }); } } - const numRefundsPending = Object.keys(pr.refundsPending).length; + const numRefundsPending = Object.keys(pr.refundState.refundsPending).length; if (numRefundsPending > 0) { - const numRefundsDone = Object.keys(pr.refundsDone).length; + const numRefundsDone = Object.keys(pr.refundState.refundsDone).length; resp.nextRetryDelay = updateRetryDelay( resp.nextRetryDelay, now, |