diff --git a/backup/backup.py b/backup/backup.py index 0e684d6..85b6687 100755 --- a/backup/backup.py +++ b/backup/backup.py @@ -443,9 +443,12 @@ def on_init(options, **kwargs): level="warn" ) - configs = plugin.rpc.listconfigs() - if not configs['wallet'].startswith('sqlite3'): - kill("The backup plugin only works with the sqlite3 database.") + # IMPORTANT NOTE + # Putting RPC stuff in init() like the following can cause deadlocks! + # See: https://github.com/lightningd/plugins/issues/209 + #configs = plugin.rpc.listconfigs() + #if not configs['wallet'].startswith('sqlite3'): + # kill("The backup plugin only works with the sqlite3 database.") def kill(message: str):