aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-09 21:05:23 -0700
committerAdam Soltys <[email protected]>2021-08-09 21:05:23 -0700
commitfff03f6ba675d61b31cc981bcf751dc1b2fadd21 (patch)
tree4925523711bb374dc2077f0bdece2b9009159364
parente6f82e1ae0e5d7d63ad1d730b78be6b6ea7e8c66 (diff)
downloadcoinos-server-fff03f6ba675d61b31cc981bcf751dc1b2fadd21.tar.gz
coinos-server-fff03f6ba675d61b31cc981bcf751dc1b2fadd21.zip
log failed tx
-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 => {