Skip to content

Commit

Permalink
pytest: Fix a typo in a test plugin
Browse files Browse the repository at this point in the history
Reported-by: Henri Beqi
  • Loading branch information
cdecker committed Aug 30, 2020
1 parent b71f6e8 commit 1884500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugins/replace_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def on_htlc_accepted(htlc, onion, plugin, **kwargs):


@plugin.method('setpayload')
def setpayload(plugin, payload: bool):
def setpayload(plugin, payload: bytes):
plugin.replace_payload = payload
return {}

Expand Down

0 comments on commit 1884500

Please sign in to comment.