diff options
| author | Adam Soltys <[email protected]> | 2024-08-18 21:38:45 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-18 21:38:45 -0700 |
| commit | 6bce7c842ef5665edfce9bebadfb62b95ae40111 (patch) | |
| tree | 505773daf88a458d5d56a90c3148a6eddf2ed2bf /lib/invoices.js | |
| parent | f8cfd7e189c62c6325a126df1dda3b24cb1bbc36 (diff) | |
| download | coinos-server-6bce7c842ef5665edfce9bebadfb62b95ae40111.tar.gz coinos-server-6bce7c842ef5665edfce9bebadfb62b95ae40111.zip | |
increase allowed memo length
Diffstat (limited to 'lib/invoices.js')
| -rw-r--r-- | lib/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index 55223674..b07ac1f5 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -42,7 +42,7 @@ export let generate = async ({ invoice, user, sender }) => { if (amount < 0) fail("invalid amount"); if (tip < 0) fail("invalid tip"); if (rate < 0) fail("invalid rate"); - if (memo && memo.length > 200) fail("memo too long"); + if (memo && memo.length > 5000) fail("memo too long"); let id = v4(); |
