diff options
Diffstat (limited to 'routes/liquid/send.js')
| -rw-r--r-- | routes/liquid/send.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index d7a7c7b4..83b5d6ca 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -7,6 +7,7 @@ import config from "$config"; import { l, warn, err } from "$lib/logging"; import { liquidTx } from "$routes/liquid/fee"; import { Transaction } from 'liquidjs-lib'; +import { requirePin } from "$lib/utils"; import { computeConversionFee, @@ -263,6 +264,7 @@ export default async (req, res) => { let { user } = req; try { + await requirePin(req); let result = await sendLiquid({ ...req.body, user }) if (result instanceof Error) throw result; res.send(result); |
