aboutsummaryrefslogtreecommitdiffstats
path: root/routes/assets.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-09 19:11:31 -0700
committerAdam Soltys <[email protected]>2021-08-09 19:11:31 -0700
commitbcf89f097f9a62a2aeac70da17ab527b243e811a (patch)
tree4d78fa9560ad8304f1b1d0b0f24c3248e16110aa /routes/assets.js
parent3eebf4fa82fdbd2026eeaa1d6615366f24d498f3 (diff)
downloadcoinos-server-bcf89f097f9a62a2aeac70da17ab527b243e811a.tar.gz
coinos-server-bcf89f097f9a62a2aeac70da17ab527b243e811a.zip
back to v5 zmq
Diffstat (limited to 'routes/assets.js')
-rw-r--r--routes/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/assets.js b/routes/assets.js
index 939eb76c..0a71bbb8 100644
--- a/routes/assets.js
+++ b/routes/assets.js
@@ -157,7 +157,7 @@ app.post(
const brt = await lq.blindRawTransaction(hex, true, [], false);
const srt = await lq.signRawTransactionWithWallet(brt);
const allowed = (await lq.testMempoolAccept([srt.hex]))[0].allowed;
- if (!allowed) throw new Error("issuance rejected by mempool");
+ if (!allowed) throw new Error("issuance rejected by mempool", srt.hex);
const txid = await lq.sendRawTransaction(srt.hex);
await db.transaction(async transaction => {