Skip to content

Commit 67a8f6e

Browse files
authored
feat(cli): Update status to show when the wallet is locked (#5345)
1 parent f737dee commit 67a8f6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ironfish-cli/src/commands/status.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ function renderStatus(content: GetNodeStatusResponse, debugOutput: boolean): str
187187
).toFixed(1)}%)`
188188

189189
let accountStatus
190-
if (content.accounts.scanning === undefined) {
190+
if (content.accounts.locked) {
191+
accountStatus = 'LOCKED'
192+
} else if (content.accounts.scanning === undefined) {
191193
accountStatus = `IDLE`
192194
} else {
193195
accountStatus = `SCANNING`

0 commit comments

Comments
 (0)