mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
17 lines
294 B
Python
17 lines
294 B
Python
|
#! /usr/bin/env python3
|
||
|
'''This plugin is a do-nothing backup plugin which just checks that we
|
||
|
can handle multiple backup plugins.
|
||
|
'''
|
||
|
|
||
|
from pyln.client import Plugin
|
||
|
|
||
|
plugin = Plugin()
|
||
|
|
||
|
|
||
|
@plugin.hook('db_write')
|
||
|
def db_write(plugin, **kwargs):
|
||
|
return {'result': 'continue'}
|
||
|
|
||
|
|
||
|
plugin.run()
|