ricochet icon indicating copy to clipboard operation
ricochet copied to clipboard

Fix typos and ensure odd-numbered channels have odd numbers

Open jes opened this issue 7 years ago • 0 comments

The logic in availableOutboundChannelId ensured that when a channel needs an even number, an even number is generated, but it did not ensure that when a channel needs an odd number, an odd number is generated.

It worked anyway, so probably the only time it ever needs an odd-numbered id, the number 1 would do, but it seems right to fix the logic anyway.

jes avatar Sep 05 '18 11:09 jes