Merge pull request #1272 from lightning-signer/2022-01-sign-invoice-api
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index 73cbb7a4a7f26634b6f825582d7d2be33612ca9a..ef0ae1da82094a9c79812911947a5db9cf428042 100644 (file)
@@ -63,6 +63,7 @@ use std::collections::{HashSet, hash_map, HashMap};
 use std::sync::{Arc,Mutex};
 use std::sync::atomic;
 use std::io::Cursor;
+use bitcoin::bech32::u5;
 
 const MAX_FEE: u32 = 10_000;
 struct FuzzEstimator {
@@ -220,7 +221,7 @@ impl KeysInterface for KeyProvider {
                })
        }
 
-       fn sign_invoice(&self, _invoice_preimage: Vec<u8>) -> Result<RecoverableSignature, ()> {
+       fn sign_invoice(&self, _hrp_bytes: &[u8], _invoice_data: &[u5]) -> Result<RecoverableSignature, ()> {
                unreachable!()
        }
 }