From a9537167390ebbcd2fd2f218b62b67586a85520d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 18 Jan 2024 10:36:19 -0800 Subject: always get txid --- routes/payments.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/payments.js b/routes/payments.js index 2db0c269..ae58c14a 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -323,8 +323,7 @@ export default { type === types.liquid ? await node.blindRawTransaction(hex) : hex, ); - if (type === types.liquid) - ({ txid } = await lq.decodeRawTransaction(signed)); + ({ txid } = await node.decodeRawTransaction(signed)); let r = await node.testMempoolAccept([signed]); if (!r[0].allowed) fail("transaction rejected"); -- cgit v1.2.3