Skip to content

Commit 4ed2f85

Browse files
committed
Improve error handling, persistence; misc review changes
1 parent 4430e86 commit 4ed2f85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13107,15 +13107,15 @@ mod tests {
1310713107
}
1310813108
}
1310913109

13110-
#[cfg(all(test, splicing))]
13110+
#[cfg(splicing)]
1311113111
fn get_pre_and_post(pre_channel_value: u64, our_funding_contribution: i64, their_funding_contribution: i64) -> (u64, u64) {
1311213112
use crate::ln::channel::PendingSplice;
1311313113

1311413114
let post_channel_value = PendingSplice::compute_post_value(pre_channel_value, our_funding_contribution, their_funding_contribution);
1311513115
(pre_channel_value, post_channel_value)
1311613116
}
1311713117

13118-
#[cfg(all(test, splicing))]
13118+
#[cfg(splicing)]
1311913119
#[test]
1312013120
fn test_splice_compute_post_value() {
1312113121
{

0 commit comments

Comments
 (0)