@@ -508,7 +508,7 @@ use core::task;
508508/// # impl lightning::util::persist::KVStore for MyStore {
509509/// # fn read(&self, namespace: &str, sub_namespace: &str, key: &str) -> io::Result<Vec<u8>> { Ok(Vec::new()) }
510510/// # fn write(&self, namespace: &str, sub_namespace: &str, key: &str, buf: &[u8]) -> io::Result<()> { Ok(()) }
511- /// # fn remove(&self, namespace: &str, sub_namespace: &str, key: &str) -> io::Result<()> { Ok(()) }
511+ /// # fn remove(&self, namespace: &str, sub_namespace: &str, key: &str, lazy: bool ) -> io::Result<()> { Ok(()) }
512512/// # fn list(&self, namespace: &str, sub_namespace: &str) -> io::Result<Vec<String>> { Ok(Vec::new()) }
513513/// # }
514514/// # struct MyEventHandler {}
@@ -1027,8 +1027,8 @@ mod tests {
10271027 self . kv_store . write ( namespace, sub_namespace, key, buf)
10281028 }
10291029
1030- fn remove ( & self , namespace : & str , sub_namespace : & str , key : & str ) -> lightning:: io:: Result < ( ) > {
1031- self . kv_store . remove ( namespace, sub_namespace, key)
1030+ fn remove ( & self , namespace : & str , sub_namespace : & str , key : & str , lazy : bool ) -> lightning:: io:: Result < ( ) > {
1031+ self . kv_store . remove ( namespace, sub_namespace, key, lazy )
10321032 }
10331033
10341034 fn list ( & self , namespace : & str , sub_namespace : & str ) -> lightning:: io:: Result < Vec < String > > {
0 commit comments