]> git.bitcoin.ninja Git - rust-lightning/blobdiff - fuzz/src/chanmon_consistency.rs
Let some tests disable revocation policy check
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index cfb8f41b5a25df182683978673d22dccb9eedd8f..8e79ac5f9e9303be7519d56aa706a799b504d095 100644 (file)
@@ -182,7 +182,7 @@ impl KeysInterface for KeyProvider {
                        (0, 0),
                );
                let revoked_commitment = self.make_revoked_commitment_cell(keys.commitment_seed);
-               EnforcingChannelKeys::new_with_revoked(keys, revoked_commitment)
+               EnforcingChannelKeys::new_with_revoked(keys, revoked_commitment, false)
        }
 
        fn get_secure_random_bytes(&self) -> [u8; 32] {
@@ -202,6 +202,7 @@ impl KeysInterface for KeyProvider {
                        inner,
                        last_commitment_number: Arc::new(Mutex::new(last_commitment_number)),
                        revoked_commitment,
+                       disable_revocation_policy_check: false,
                })
        }
 }