diff --git a/host/src/channel_manager.rs b/host/src/channel_manager.rs index 829f9f85..eb1c3394 100644 --- a/host/src/channel_manager.rs +++ b/host/src/channel_manager.rs @@ -807,7 +807,7 @@ impl CreditFlowControl { } } CreditFlowPolicy::MinThreshold(threshold) => { - if self.credits <= threshold { + if self.credits < threshold { let amount = self.received; self.received = 0; self.credits += amount;