diff options
| author | Adam Soltys <[email protected]> | 2021-08-09 21:05:23 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-09 21:05:23 -0700 |
| commit | fff03f6ba675d61b31cc981bcf751dc1b2fadd21 (patch) | |
| tree | 4925523711bb374dc2077f0bdece2b9009159364 | |
| parent | e6f82e1ae0e5d7d63ad1d730b78be6b6ea7e8c66 (diff) | |
| download | coinos-server-fff03f6ba675d61b31cc981bcf751dc1b2fadd21.tar.gz coinos-server-fff03f6ba675d61b31cc981bcf751dc1b2fadd21.zip | |
log failed tx
| -rw-r--r-- | routes/assets.js | 2 |
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 => { |
