Skip to content

Commit 6d3a774

Browse files
committed
Drop some pub(crate) macro exports to silence warnings
1 parent eedfb12 commit 6d3a774

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/common/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ macro_rules! expect_channel_pending_event {
7979
}};
8080
}
8181

82-
pub(crate) use expect_channel_pending_event;
83-
8482
macro_rules! expect_channel_ready_event {
8583
($node:expr, $counterparty_node_id:expr) => {{
8684
match $node.next_event_async().await {
@@ -97,8 +95,6 @@ macro_rules! expect_channel_ready_event {
9795
}};
9896
}
9997

100-
pub(crate) use expect_channel_ready_event;
101-
10298
macro_rules! expect_payment_received_event {
10399
($node:expr, $amount_msat:expr) => {{
104100
match $node.next_event_async().await {
@@ -119,8 +115,6 @@ macro_rules! expect_payment_received_event {
119115
}};
120116
}
121117

122-
pub(crate) use expect_payment_received_event;
123-
124118
macro_rules! expect_payment_claimable_event {
125119
($node:expr, $payment_id:expr, $payment_hash:expr, $claimable_amount_msat:expr) => {{
126120
match $node.next_event_async().await {
@@ -144,8 +138,6 @@ macro_rules! expect_payment_claimable_event {
144138
}};
145139
}
146140

147-
pub(crate) use expect_payment_claimable_event;
148-
149141
macro_rules! expect_payment_successful_event {
150142
($node:expr, $payment_id:expr, $fee_paid_msat:expr) => {{
151143
match $node.next_event_async().await {
@@ -166,8 +158,6 @@ macro_rules! expect_payment_successful_event {
166158
}};
167159
}
168160

169-
pub(crate) use expect_payment_successful_event;
170-
171161
pub(crate) fn setup_bitcoind_and_electrsd() -> (BitcoinD, ElectrsD) {
172162
let bitcoind_exe =
173163
env::var("BITCOIND_EXE").ok().or_else(|| corepc_node::downloaded_exe_path().ok()).expect(
@@ -277,8 +267,6 @@ macro_rules! setup_builder {
277267
};
278268
}
279269

280-
pub(crate) use setup_builder;
281-
282270
pub(crate) fn setup_two_nodes(
283271
chain_source: &TestChainSource, allow_0conf: bool, anchor_channels: bool,
284272
anchors_trusted_no_reserve: bool,

0 commit comments

Comments
 (0)