Skip to content

Commit 5b0656d

Browse files
committed
Fix more unused warnings in test_utils
1 parent d88d23e commit 5b0656d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/util/test_utils.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ struct JusticeTxData {
282282
commitment_number: u64,
283283
}
284284

285-
pub(crate) struct WatchtowerPersister {
285+
pub struct WatchtowerPersister {
286286
persister: TestPersister,
287287
/// Upon a new commitment_signed, we'll get a
288288
/// ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTxInfo. We'll store the justice tx
@@ -427,7 +427,7 @@ impl<Signer: sign::WriteableEcdsaChannelSigner> chainmonitor::Persist<Signer> fo
427427
}
428428
}
429429

430-
pub(crate) struct TestStore {
430+
pub struct TestStore {
431431
persisted_bytes: Mutex<HashMap<String, HashMap<String, Vec<u8>>>>,
432432
read_only: bool,
433433
}

0 commit comments

Comments
 (0)