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.
|
/// Parameters that influence chain consensus.
|
||||||
|
#[non_exhaustive]
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct Params {
|
pub struct Params {
|
||||||
/// Network for which parameters are valid.
|
/// Network for which parameters are valid.
|
||||||
|
|
Loading…
Reference in New Issue