diff options
| author | Adam Soltys <[email protected]> | 2024-01-18 10:36:19 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-01-18 10:36:19 -0800 |
| commit | a9537167390ebbcd2fd2f218b62b67586a85520d (patch) | |
| tree | 85c372edc68a4c5449d9c8c2a67be49a12271232 | |
| parent | 5eca77c3571ab0b929bdb36aed84ff7781e20e07 (diff) | |
| download | coinos-server-a9537167390ebbcd2fd2f218b62b67586a85520d.tar.gz coinos-server-a9537167390ebbcd2fd2f218b62b67586a85520d.zip | |
always get txid
| -rw-r--r-- | routes/payments.js | 3 |
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"); |
