• v1.6.1-aio.2 7b761a1aef

    fix: every ticket row gets a fresh short-hash id (no payment_hash reuse)
    Some checks failed
    lint.yml / fix: every ticket row gets a fresh short-hash id (no payment_hash reuse) (pull_request) Failing after 0s
    lint.yml / fix: every ticket row gets a fresh short-hash id (no payment_hash reuse) (push) Failing after 0s

    padreug released this 2026-05-23 20:57:00 +00:00 | 17 commits to main since this release

    Previous commit reused the LNbits invoice payment_hash as the
    first row's id, so a 3-ticket purchase ended up with one 64-hex
    id and two short-hash ids — inconsistent and noisy in My Tickets.

    Switch every row to urlsafe_short_hash. The shared payment_hash
    column is the join key for invoice lookups (poll endpoint, ws
    notifier, on_invoice_paid); rows never need to BE the payment
    hash, they only need to point at it.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    Downloads