Skip to content

Commit

Permalink
CI: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 committed Oct 21, 2024
1 parent 5a20094 commit c86129a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions src/slings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,16 +716,6 @@ fn build_candidatelist(

if match job.sat_direction {
SatDirection::Pull => {
debug!(
"candidates_pull: {} {} {} {}",
scid,
to_us_msat,
job.amount_msat + 10_000_000,
min(
(depleteuptopercent * total_msat as f64) as u64,
depleteuptoamount,
)
);
to_us_msat
> max(
job.amount_msat + 10_000_000,
Expand All @@ -740,16 +730,6 @@ fn build_candidatelist(
}
}
SatDirection::Push => {
debug!(
"candidates_pull: {} {} {} {}",
scid,
total_msat - to_us_msat,
job.amount_msat + 10_000_000,
min(
(depleteuptopercent * total_msat as f64) as u64,
depleteuptoamount,
)
);
total_msat - to_us_msat
> max(
job.amount_msat + 10_000_000,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_sling.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def test_private_channel_node(node_factory, bitcoind, get_plugin): # noqa: F811
"amount": 100_000,
"maxppm": 1000,
"outppm": 1000,
"target": 0.5,
"target": 0.4,
},
)

Expand All @@ -593,7 +593,7 @@ def test_private_channel_node(node_factory, bitcoind, get_plugin): # noqa: F811
"amount": 100_000,
"maxppm": 1000,
"outppm": 0,
"target": 0.8,
"target": 0.7,
"depleteuptoamount": 0,
},
)
Expand Down

0 comments on commit c86129a

Please sign in to comment.