diff --git a/lib/wallet/walletdb.js b/lib/wallet/walletdb.js index 81211707..a3917a52 100644 --- a/lib/wallet/walletdb.js +++ b/lib/wallet/walletdb.js @@ -1533,7 +1533,7 @@ WalletDB.prototype.addTX = function addTX(tx, callback, force) { if (!wallet) return next(); - self.logger.debug('Adding tx to wallet: %s', info.id); + self.logger.debug('Adding tx to wallet: %s', wallet.id); info.id = wallet.id;