From 2e102a1eba382576e2f6e520748ff7b7d76030a6 Mon Sep 17 00:00:00 2001 From: Conor Scott Date: Tue, 22 Jan 2019 09:06:51 +0800 Subject: [PATCH] Add channel_ratio arg to get_incoming_rebalance_candidates call --- rebalance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebalance.py b/rebalance.py index f0ceb6a..8b62075 100755 --- a/rebalance.py +++ b/rebalance.py @@ -41,7 +41,7 @@ def main(): if to_channel and to_channel < 10000: # here we are in the "channel index" case index = int(to_channel) - 1 - candidates = get_incoming_rebalance_candidates() + candidates = get_incoming_rebalance_candidates(channel_ratio) candidate = candidates[index] last_hop_channel = candidate else: