Skip to content

Commit 9c100c2

Browse files
committed
fix test failures
1 parent 0091555 commit 9c100c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/src/v0/impls/stake_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ impl EpochCommittees {
16991699
let da_members = da_committees
17001700
.get(&Epoch::new(0))
17011701
.cloned()
1702-
.expect("Should always have an epoch 0 DA committee");
1702+
.unwrap_or_default(); // For testing reasons, we want to support being given an empty map
17031703

17041704
// For each member, get the stake table entry
17051705
let stake_table: Vec<_> = committee_members

0 commit comments

Comments
 (0)