mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
pylightning - allow unicode symbols in the description to be passed as-is to the daemon
addresses issue #2753. Formatting the JSON with the default parameters will escape the unicode symbols in a way that c-lightning won't allow, leading to an exception. Changelog-Fixed: `pylightning` now handles unicode characters in JSON-RPC requests and responses correctly.
This commit is contained in:
committed by
Christian Decker
parent
dc1f27c0b3
commit
d712f732d8
@@ -2000,7 +2000,6 @@ def test_new_node_is_mainnet(node_factory):
|
||||
assert os.path.isfile(os.path.join(basedir, "lightningd-bitcoin.pid"))
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_unicode_rpc(node_factory):
|
||||
node = node_factory.get_node()
|
||||
desc = "Some candy 🍬 and a nice glass of milk 🥛."
|
||||
|
||||
Reference in New Issue
Block a user