mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
Make application-crypto std feature internal (#5558)
* Make `application-crypto` `std` feature internal The macros should not generate code that requires that the calling crate has a feature with the name `std` defined. * Use a proper panic!
This commit is contained in:
@@ -305,7 +305,7 @@ fn reduce_4<A: IdentifierT>(assignments: &mut Vec<StakedAssignment<A>>) -> u32 {
|
||||
}
|
||||
(false, false) => {
|
||||
// Neither of the edges was removed? impossible.
|
||||
debug_assert!(false, "Duplicate voter (or other corrupt input).");
|
||||
panic!("Duplicate voter (or other corrupt input).");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user