1
0

lnworker: blacklist channel if policy is unchanged but has a new timestamp.

This commit is contained in:
ThomasV
2020-04-24 12:16:21 +02:00
parent 2d0ef78a11
commit f4dc93cb7d
2 changed files with 39 additions and 13 deletions

View File

@@ -947,6 +947,8 @@ class LNWallet(LNWorker):
elif r == UpdateStatus.DEPRECATED:
self.logger.info(f'channel update is not more recent.')
blacklist = True
elif r == UpdateStatus.UNCHANGED:
blacklist = True
else:
blacklist = True
return blacklist