From d5868c858db9ca60ca6f81e9fbf59fabef14cdce Mon Sep 17 00:00:00 2001 From: Rohan Jadvani <5459049+rohanjadvani@users.noreply.github.com> Date: Mon, 26 Aug 2024 20:01:54 -0400 Subject: [PATCH] feat(ironfish): Notify via log when the wallet locks (#5334) --- ironfish/src/wallet/wallet.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ironfish/src/wallet/wallet.ts b/ironfish/src/wallet/wallet.ts index 34d141e663..e2d16d793a 100644 --- a/ironfish/src/wallet/wallet.ts +++ b/ironfish/src/wallet/wallet.ts @@ -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() }