mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-21 15:14:19 +01:00
Specify startup-only plugins to be non-dynamic
This commit is contained in:
committed by
Christian Decker
parent
93cb498c04
commit
65be1cedbe
@@ -113,7 +113,11 @@ class CLightning_autopilot(Autopilot):
|
||||
print("Could not open a channel to {} with capacity of {}. Error: {}".format(nodeid, satoshis, str(e)))
|
||||
|
||||
|
||||
plugin = Plugin()
|
||||
try:
|
||||
# C-lightning v0.7.2
|
||||
plugin = Plugin(dynamic=False)
|
||||
except:
|
||||
plugin = Plugin()
|
||||
|
||||
|
||||
@plugin.init()
|
||||
|
||||
Reference in New Issue
Block a user