From 1884500bf85f9e81dab8585ed326c92c1a2f0db0 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 31 Jul 2020 13:43:09 +0200 Subject: [PATCH] pytest: Fix a typo in a test plugin Reported-by: Henri Beqi --- tests/plugins/replace_payload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugins/replace_payload.py b/tests/plugins/replace_payload.py index 122899653..e515d8d45 100755 --- a/tests/plugins/replace_payload.py +++ b/tests/plugins/replace_payload.py @@ -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 {}