diff options
| -rw-r--r-- | routes/payments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js index 71bf86ea..7bf7f63c 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -307,7 +307,7 @@ export default { if (typeof p === "string") p = await g(`payment:${p}`); if (!p) { - await credit(txid, sats(amount), "", `${txid}:${vout}`, type); + await credit(address, sats(amount), "", `${txid}:${vout}`, type); } else if (confirmations >= 1) { let id = `payment:${txid}:${vout}`; let p = await g(id); |
