REF: electrum protocol error graceful handling

This commit is contained in:
Overtorment 2021-02-22 17:36:12 +00:00
parent 9d0ad50e4c
commit 522ccdae28

View File

@ -422,7 +422,7 @@ module.exports.multiGetTransactionByTxid = async function (txids, batchsize, ver
txdata.result = await mainClient.blockchainTransaction_get(txdata.param, verbose);
}
ret[txdata.param] = txdata.result;
delete ret[txdata.param].hex; // compact
if (ret[txdata.param]) delete ret[txdata.param].hex; // compact
}
}