diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 09:15:39 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-06 08:58:12 -0800 |
| commit | 5e3bfba5eb3d54cc03551f98624a2e92dca5825f (patch) | |
| tree | 723e0be4e4f0a987fa2375fcf0360022f1232eaa /lib/invoices.ts | |
| parent | 4850177f50b7ff5a0f37acaa92190219d6f72da5 (diff) | |
| download | coinos-server-5e3bfba5eb3d54cc03551f98624a2e92dca5825f.tar.gz coinos-server-5e3bfba5eb3d54cc03551f98624a2e92dca5825f.zip | |
custodial ark payments
Diffstat (limited to 'lib/invoices.ts')
| -rw-r--r-- | lib/invoices.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts index 6ddffe54..50cddd9a 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -131,6 +131,8 @@ export const generate = async ({ invoice, user }) => { } else if (type === PaymentType.ecash) { hash = id; text = request(id, amount, memo); + } else if (type === PaymentType.ark) { + hash = id; } else { fail(`unrecognized type ${type}`); } |
