consensus::Params should be non_exhaustive
This commit is contained in:
parent
5e67419b14
commit
445037fb70
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue