fix: add transaction ID to new sweep error logs
This commit is contained in:
parent
0f507d0a54
commit
3daf0ac865
4 changed files with 9 additions and 8 deletions
|
|
@ -789,9 +789,10 @@ function plugins (settings, deviceId) {
|
|||
}
|
||||
|
||||
function sweepHdRow (row) {
|
||||
const txId = row.id
|
||||
const cryptoCode = row.crypto_code
|
||||
|
||||
return wallet.sweep(settings, cryptoCode, row.hd_index)
|
||||
return wallet.sweep(settings, txId, cryptoCode, row.hd_index)
|
||||
.then(txHash => {
|
||||
if (txHash) {
|
||||
logger.debug('[%s] Swept address with tx: %s', cryptoCode, txHash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue