Skip to content

Commit d5868c8

Browse files
authored
feat(ironfish): Notify via log when the wallet locks (#5334)
1 parent d1abc67 commit d5868c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ironfish/src/wallet/wallet.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,6 +1875,10 @@ export class Wallet {
18751875
this.stopUnlockTimeout()
18761876
this.accountById.clear()
18771877
this.locked = true
1878+
1879+
this.logger.info(
1880+
'Wallet locked. Unlock the wallet to view your accounts and create transactions',
1881+
)
18781882
} finally {
18791883
unlock()
18801884
}

0 commit comments

Comments
 (0)