From b0997338aeaec62ccf6b97af5784fa2ff167d931 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 2 Jan 2024 15:50:32 -0800 Subject: get wtxid for liquid --- routes/payments.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/payments.js b/routes/payments.js index 5a46f29e..0613c577 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -317,6 +317,9 @@ export default { type === types.liquid ? await node.blindRawTransaction(hex) : hex, ); + if (type === types.liquid) + ({ wtxid: txid } = await lq.decodeRawTransaction(signed)); + let r = await node.testMempoolAccept([signed]); if (!r[0].allowed) fail("transaction rejected"); -- cgit v1.2.3