mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
pytest: Add test for keysend extra-tlvs
This commit is contained in:
committed by
Rusty Russell
parent
a4e3773408
commit
5f9e5d598e
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user