diff options
Diffstat (limited to 'lib/payments.js')
| -rw-r--r-- | lib/payments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.js b/lib/payments.js index 657590ee..89652ff4 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -81,7 +81,7 @@ export let debit = async ( export let credit = async (hash, amount, memo, ref, type = types.internal) => { amount = parseInt(amount); let invoice = await g(`invoice:${hash}`); - if (!invoice) return warn("failed to credit", ref, ", invoice not found"); + if (!invoice) return warn("failed to credit", hash, ", invoice not found"); if (!memo) ({ memo } = invoice); let user = await g(`user:${invoice.uid}`); |
