diff options
| author | Adam Soltys <[email protected]> | 2021-08-09 21:05:23 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-09 21:05:46 -0700 |
| commit | 0be505ce1c6c6304a1a55ccf05ac5ff2f5361f47 (patch) | |
| tree | 4925523711bb374dc2077f0bdece2b9009159364 | |
| parent | 125daf2a6f829c28c72d3ba218bc443a7bda57fb (diff) | |
| download | coinos-server-0be505ce1c6c6304a1a55ccf05ac5ff2f5361f47.tar.gz coinos-server-0be505ce1c6c6304a1a55ccf05ac5ff2f5361f47.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 => { |
