pytest: Add test for keysend extra-tlvs

This commit is contained in:
Christian Decker
2021-06-18 14:32:23 +02:00
committed by Rusty Russell
parent a4e3773408
commit 5f9e5d598e
3 changed files with 50 additions and 3 deletions

View File

@@ -1360,9 +1360,9 @@ class LightningRpc(UnixDomainSocketRpc):
"""
"""
if extra_tlvs is not None and not isinstance(extra_tlvs, dict):
raise ValueErrr(
"extra_tlvs is not a dictionary with integer keys and hexadecimal values"
if extratlvs is not None and not isinstance(extratlvs, dict):
raise ValueError(
"extratlvs is not a dictionary with integer keys and hexadecimal values"
)
payload = {