1#!/usr/bin/env python3
2from pyln.client import Plugin
3
4"""A simple plugin that must come before dep_a.
5"""
6plugin = Plugin()
7
8
9@plugin.hook('htlc_accepted', before=['dep_a.py'])
10def on_htlc_accepted(htlc, plugin, **kwargs):
11    print("htlc_accepted called")
12    return {'result': 'continue'}
13
14
15plugin.run()
16