wallet: improve logging (minor)
This commit is contained in:
parent
4a634f1f73
commit
fe5a6d7eff
@ -915,6 +915,7 @@ class TXDB {
|
||||
if (!block)
|
||||
return 0;
|
||||
|
||||
this.logger.debug('Rescan: reverting block %d', height);
|
||||
const hashes = block.toArray();
|
||||
|
||||
for (let i = hashes.length - 1; i >= 0; i--) {
|
||||
|
||||
@ -176,6 +176,7 @@ class WalletDB extends EventEmitter {
|
||||
*/
|
||||
|
||||
async open() {
|
||||
this.logger.info('Opening WalletDB...');
|
||||
await this.db.open();
|
||||
await this.db.verify(layout.V.encode(), 'wallet', 7);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user