Skip to content

Commit c88e837

Browse files
committed
fix: out-dated asserts
1 parent 6726118 commit c88e837

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/commands/lido-core/prepare-repository.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ export const PrepareLidoCore = command.cli({
132132
);
133133
assert(oracleDaemonConfig !== undefined, "Missing oracleDaemonConfig");
134134
assert(
135-
oracleDaemonConfig.hashConsensusForAccountingOracle !== undefined,
136-
"Missing oracleDaemonConfig.hashConsensusForAccountingOracle",
135+
configObj.hashConsensusForAccountingOracle !== undefined,
136+
"Missing hashConsensusForAccountingOracle",
137137
);
138138
assert(
139-
oracleDaemonConfig.hashConsensusForValidatorsExitBusOracle !== undefined,
140-
"Missing oracleDaemonConfig.hashConsensusForValidatorsExitBusOracle",
139+
configObj.hashConsensusForValidatorsExitBusOracle !== undefined,
140+
"Missing hashConsensusForValidatorsExitBusOracle",
141141
);
142142

143143
vestingParams.holders = {

0 commit comments

Comments
 (0)