Skip to content

Commit ea16440

Browse files
authored
Merge pull request #151 from input-output-hk/voting-group-assigner
mock voting group assigner in test api
2 parents 4913fd8 + 2ca1e9a commit ea16440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalyst-toolbox/src/snapshot/voting_group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl VotingGroupAssigner for RepsVotersAssigner {
7171
}
7272
}
7373

74-
#[cfg(test)]
74+
#[cfg(any(test, feature = "test-api"))]
7575
impl<F> VotingGroupAssigner for F
7676
where
7777
F: Fn(&Identifier) -> VotingGroup,

0 commit comments

Comments
 (0)