aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cln_schema.sql
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-06 15:53:18 -0700
committerAdam Soltys <[email protected]>2026-10-06 15:53:18 -0700
commit7727b97c71c11b4b65f47bcc68460ea981c1b22c (patch)
treeb43f418640cc282ea97c6bf3df56693d34d2866f /scripts/cln_schema.sql
parent41018c30a2e03f5ab05be64d419542be0cff7943 (diff)
downloadcoinos-server-7727b97c71c11b4b65f47bcc68460ea981c1b22c.tar.gz
coinos-server-7727b97c71c11b4b65f47bcc68460ea981c1b22c.zip
invoices: a supplied account must belong to the invoice's user
generate() took any existing account id as the credit target, so an invoice could carry one user's name while paying into someone else's account. A supplied aid now has to be in the invoice user's own account list; otherwise the invoice credits that user's main account. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KCxLg8s1g8yBwjRwPN4uJR
Diffstat (limited to 'scripts/cln_schema.sql')
0 files changed, 0 insertions, 0 deletions