txdb: minor.

This commit is contained in:
Christopher Jeffrey 2017-10-27 04:51:39 -07:00
parent 37fdc7c08b
commit b39554fa98
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 2 deletions

View File

@ -982,7 +982,7 @@ TXDB.prototype.revert = async function revert(height) {
await this.unconfirm(hash);
}
return block.hashes.length;
return hashes.length;
};
/**

View File

@ -1742,7 +1742,7 @@ WalletDB.prototype.revert = async function revert(target) {
}
});
this.logger.info('Rolled back WalletDB %d transactions.', total);
this.logger.info('Rolled back %d WalletDB transactions.', total);
};
/**