More error handling when joining channels with ChanKeep
This commit is contained in:
parent
4c9ac3ec42
commit
b42c82eac2
|
@ -136,6 +136,8 @@ def keepChannels(net, listinfo, mean, sigrelay, relay):
|
|||
|
||||
def joinSingle(net, channel):
|
||||
eca = emptyChanAllocate(net, [channel], None, [])
|
||||
if not eca:
|
||||
return False
|
||||
if not len(eca.keys()) == 1:
|
||||
return False
|
||||
num = list(eca.keys())[0]
|
||||
|
|
Loading…
Reference in New Issue