Skip to content

Commit 51c6798

Browse files
committed
fix
1 parent d092418 commit 51c6798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolkit/committee-selection/authority-selection-inherents/src/ariadne_inherent_data_provider.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ impl AriadneInherentDataProvider {
6262
timestamp_millis,
6363
)?;
6464

65-
let data_epoch = offset_data_epoch(&for_mc_epoch).expect(
65+
let data_epoch = offset_data_epoch(&for_mc_epoch).expect(&format!(
6666
"Could not apply data offset to MC epoch {} for authority selection; this is caused either by misconfiguration or a bug.",
6767
for_mc_epoch.0,
68-
);
68+
));
6969

7070
// We could accept mc_reference at last slot of data_epoch, but calculations are much easier like that.
7171
// Additionally, in current implementation, the inequality below is always true, thus there is no need to make it more accurate.

0 commit comments

Comments
 (0)