Skip to content

Commit

Permalink
FIX: Validator Import with Password Files (stereum-dev#1864)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays authored May 8, 2024
1 parent 797cab8 commit 4f25c88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/src/backend/ValidatorAccountManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ export class ValidatorAccountManager {

for (let i = 0; i < content.length; i += chunkSize) {
const contentChunk = content.slice(i, i + chunkSize);
const passwordChunk = passwords.slice(i, i + chunkSize);

this.batches.push({
keystores: contentChunk,
passwords: passwords,
passwords: passwordChunk,
...(slashing_protection_content && { slashing_protection: slashing_protection_content }),
});
}
Expand Down

0 comments on commit 4f25c88

Please sign in to comment.