|
|
@ -41,7 +41,7 @@ def emptyChanAllocate(net, flist, relay, new):
|
|
|
|
allocated = {}
|
|
|
|
allocated = {}
|
|
|
|
toalloc = len(flist)
|
|
|
|
toalloc = len(flist)
|
|
|
|
if toalloc > sum(chanfree[0].values()):
|
|
|
|
if toalloc > sum(chanfree[0].values()):
|
|
|
|
error("Too many channels to allocate for %s - this is probably a bug" % net)
|
|
|
|
error("Too many channels to allocate for %s - channels joined since initial query, wait a while" % net)
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|
for i in chanfree[0].keys():
|
|
|
|
for i in chanfree[0].keys():
|
|
|
|
for x in range(chanfree[0][i]):
|
|
|
|
for x in range(chanfree[0][i]):
|
|
|
|