From 3088d3d697aea26d83cdc37e381e459e6b631110 Mon Sep 17 00:00:00 2001 From: michaeltout Date: Sat, 8 Jul 2023 16:33:33 +0200 Subject: [PATCH] Label txid correctly in electrum send result --- routes/api/electrum/send.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/routes/api/electrum/send.js b/routes/api/electrum/send.js index 5a7704d1..5c9d4a9f 100644 --- a/routes/api/electrum/send.js +++ b/routes/api/electrum/send.js @@ -58,8 +58,6 @@ module.exports = (api) => { }; api.electrum.conditionalListunspent = (grainedControlUtxos, ecl, address, network, full, verify) => { - api.log(`verify ${verify}`, 'spv.listunspent'); - return new Promise((resolve, reject) => { if (grainedControlUtxos) { resolve(grainedControlUtxos); @@ -631,7 +629,7 @@ module.exports = (api) => { const retObj = { msg: "success", - result: { ...preflightRes, broadcastRes } + result: { ...preflightRes, txid: broadcastRes } }; res.send(JSON.stringify(retObj));