Skip to content

Commit 3dcdd43

Browse files
committed
impl writer for mutex testscorer
1 parent 278c467 commit 3dcdd43

File tree

1 file changed

+5
-0
lines changed
  • lightning-background-processor/src

1 file changed

+5
-0
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,11 @@ mod tests {
11301130
}
11311131
}
11321132

1133+
struct MutextTestScorer(Mutex<TestScorer>);
1134+
impl lightning::util::ser::Writeable for MutextTestScorer {
1135+
fn write<W: lightning::util::ser::Writer>(&self, _: &mut W) -> Result<(), lightning::io::Error> { Ok(()) }
1136+
}
1137+
11331138
fn get_full_filepath(filepath: String, filename: String) -> String {
11341139
let mut path = PathBuf::from(filepath);
11351140
path.push(filename);

0 commit comments

Comments
 (0)