From 445037fb700d1fa59ba34001f9c7f0daa7ef3ac6 Mon Sep 17 00:00:00 2001 From: hrouis Date: Fri, 26 Aug 2022 15:49:27 +0200 Subject: [PATCH] consensus::Params should be non_exhaustive --- src/consensus/params.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/consensus/params.rs b/src/consensus/params.rs index fe4d65c8..09feebed 100644 --- a/src/consensus/params.rs +++ b/src/consensus/params.rs @@ -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.