consensus::Params should be non_exhaustive

This commit is contained in:
hrouis 2022-08-26 15:49:27 +02:00
parent 5e67419b14
commit 445037fb70
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ const MAX_BITS_REGTEST: Uint256 = Uint256([
]);
/// Parameters that influence chain consensus.
#[non_exhaustive]
#[derive(Debug, Clone)]
pub struct Params {
/// Network for which parameters are valid.