diff options
| author | Adam Soltys <[email protected]> | 2021-06-05 01:14:56 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-05 01:14:56 -0400 |
| commit | 421accbfbc0a1add93f7704e657ae93f2d836b82 (patch) | |
| tree | 16807bc65a82ca80c5878d81c1c8dd945e8fccc9 /routes/liquid | |
| parent | 3bdd16bb7a757f33587c9ef5834fa47c1ee00210 (diff) | |
| download | coinos-server-421accbfbc0a1add93f7704e657ae93f2d836b82.tar.gz coinos-server-421accbfbc0a1add93f7704e657ae93f2d836b82.zip | |
bump address indices
Diffstat (limited to 'routes/liquid')
| -rw-r--r-- | routes/liquid/send.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index 0207baae..19b7344f 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -2,6 +2,7 @@ const btc = config.liquid.btcasset; const lcad = config.liquid.cadasset; sendLiquid = async ({ asset, amount, user, address, memo, tx, limit }) => { + if (amount > 10000000) throw new Error("Amount too large"); l.info("sending liquid", amount, address); if (!tx) { ({ tx } = await liquidTx({ |
