Skip to content

Commit

Permalink
feat(ironfish): Notify via log when the wallet locks (#5334)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanjadvani committed Aug 27, 2024
1 parent d1abc67 commit d5868c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ironfish/src/wallet/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,10 @@ export class Wallet {
this.stopUnlockTimeout()
this.accountById.clear()
this.locked = true

this.logger.info(
'Wallet locked. Unlock the wallet to view your accounts and create transactions',
)
} finally {
unlock()
}
Expand Down

0 comments on commit d5868c8

Please sign in to comment.