aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-18 10:36:19 -0800
committerAdam Soltys <[email protected]>2024-01-18 10:36:19 -0800
commita9537167390ebbcd2fd2f218b62b67586a85520d (patch)
tree85c372edc68a4c5449d9c8c2a67be49a12271232 /routes
parent5eca77c3571ab0b929bdb36aed84ff7781e20e07 (diff)
downloadcoinos-server-a9537167390ebbcd2fd2f218b62b67586a85520d.tar.gz
coinos-server-a9537167390ebbcd2fd2f218b62b67586a85520d.zip
always get txid
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.js3
1 files changed, 1 insertions, 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");