Skip to content

Commit

Permalink
Add channel_ratio arg to get_incoming_rebalance_candidates call
Browse files Browse the repository at this point in the history
  • Loading branch information
conscott committed Jan 22, 2019
1 parent da1c6a6 commit 2e102a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebalance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e102a1

Please sign in to comment.