File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
mithril-aggregator/src/services Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -215,8 +215,6 @@ impl EpochService for MithrilEpochService {
215
215
let next_signers_with_stake = self
216
216
. get_signers_with_stake_at_epoch ( next_signer_retrieval_epoch)
217
217
. await ?;
218
-
219
- // TODO could it be better to create a EpochData::new and to this in the impl ? So, it'll not done twice in FakeEpochService
220
218
let current_signers = Signer :: vec_from ( current_signers_with_stake. clone ( ) ) ;
221
219
let next_signers = Signer :: vec_from ( next_signers_with_stake. clone ( ) ) ;
222
220
@@ -346,12 +344,10 @@ impl FakeEpochService {
346
344
. unwrap ( )
347
345
. build_multi_signer ( ) ;
348
346
let next_protocol_multi_signer =
349
- // SignerBuilder::new(current_signers_with_stake, protocol_parameters)
350
- // TODO Is it correct to use current_signers_with_stake here and not next_signers_with_stake ?
351
- SignerBuilder :: new ( current_signers_with_stake, protocol_parameters)
352
- . with_context ( || "Could not build protocol_multi_signer for epoch service" )
353
- . unwrap ( )
354
- . build_multi_signer ( ) ;
347
+ SignerBuilder :: new ( next_signers_with_stake, next_protocol_parameters)
348
+ . with_context ( || "Could not build protocol_multi_signer for epoch service" )
349
+ . unwrap ( )
350
+ . build_multi_signer ( ) ;
355
351
356
352
let current_signers_with_stake = current_signers_with_stake. to_vec ( ) ;
357
353
let next_signers_with_stake = next_signers_with_stake. to_vec ( ) ;
You can’t perform that action at this time.
0 commit comments