-
-
Save cdecker/e7ce7c06fb0af786c340fa8ef528a4d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from lightning import Plugin | |
plugin = Plugin() | |
@plugin.method("probe") | |
def probe(plugin, node_id=None, **kwargs): | |
"""Probe a network by sending a payment to it. | |
""" | |
print("This is going to the logs") | |
return "Hello world" | |
plugin.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment