Skip to content

Commit ab086f0

Browse files
committed
Remove splicing rust cfg flag
1 parent 525fbe4 commit ab086f0

File tree

12 files changed

+11
-150
lines changed

12 files changed

+11
-150
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ check-cfg = [
6565
"cfg(ldk_test_vectors)",
6666
"cfg(taproot)",
6767
"cfg(require_route_graph_test)",
68-
"cfg(splicing)",
6968
"cfg(simple_close)",
7069
"cfg(peer_storage)",
7170
]

ci/ci-tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ fi
151151
echo -e "\n\nTest cfg-flag builds"
152152
RUSTFLAGS="--cfg=taproot" cargo test --verbose --color always -p lightning
153153
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
154-
RUSTFLAGS="--cfg=splicing" cargo test --verbose --color always -p lightning
155-
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
156154
RUSTFLAGS="--cfg=async_payments" cargo test --verbose --color always -p lightning
157155
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
158156
RUSTFLAGS="--cfg=simple_close" cargo test --verbose --color always -p lightning

lightning-net-tokio/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,11 +742,8 @@ mod tests {
742742
fn handle_open_channel_v2(&self, _their_node_id: PublicKey, _msg: &OpenChannelV2) {}
743743
fn handle_accept_channel_v2(&self, _their_node_id: PublicKey, _msg: &AcceptChannelV2) {}
744744
fn handle_stfu(&self, _their_node_id: PublicKey, _msg: &Stfu) {}
745-
#[cfg(splicing)]
746745
fn handle_splice_init(&self, _their_node_id: PublicKey, _msg: &SpliceInit) {}
747-
#[cfg(splicing)]
748746
fn handle_splice_ack(&self, _their_node_id: PublicKey, _msg: &SpliceAck) {}
749-
#[cfg(splicing)]
750747
fn handle_splice_locked(&self, _their_node_id: PublicKey, _msg: &SpliceLocked) {}
751748
fn handle_tx_add_input(&self, _their_node_id: PublicKey, _msg: &TxAddInput) {}
752749
fn handle_tx_add_output(&self, _their_node_id: PublicKey, _msg: &TxAddOutput) {}

0 commit comments

Comments
 (0)