diff options
| author | Adam Soltys <[email protected]> | 2023-12-30 08:02:54 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-30 08:02:54 -0800 |
| commit | 33750da621f7d27de39fcd29e014f29974e3e60b (patch) | |
| tree | d091568cf1145ae0b6a22c1b892f2d1166da66bf | |
| parent | 9a7cbaf3822d0f3087bca4d1868fe918bc6ad261 (diff) | |
| download | coinos-server-33750da621f7d27de39fcd29e014f29974e3e60b.tar.gz coinos-server-33750da621f7d27de39fcd29e014f29974e3e60b.zip | |
link to vout
| -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); |
