Clarify error message to be more helpful

This commit is contained in:
Mark Veidemanis 2020-10-31 00:11:28 +00:00
parent 8deac2ab17
commit c06e922749
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def emptyChanAllocate(net, flist, relay, new):
allocated = {}
toalloc = len(flist)
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
for i in chanfree[0].keys():
for x in range(chanfree[0][i]):