Skip to content

Commit

Permalink
fix: ignore lockfiles when loading keys for voluntary exit
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Sep 11, 2023
1 parent 80c001b commit c9823ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/cmds/validator/voluntaryExit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ If no `pubkeys` are provided, it will exit all validators that have been importe

// Set exitEpoch to current epoch if unspecified
const exitEpoch = args.exitEpoch ?? computeEpochAtSlot(getCurrentSlot(config, genesisTime));

// Ignore lockfiles to allow exiting while validator client is running
args.force = true;

// Select signers to exit
const signers = await getSignersFromArgs(args, network, {logger: console, signal: new AbortController().signal});
Expand Down

0 comments on commit c9823ff

Please sign in to comment.