We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a7d038 commit 6ace13bCopy full SHA for 6ace13b
contrib/pylightning/lightning/plugin.py
@@ -371,7 +371,7 @@ def _dispatch_notification(self, request):
371
self.log(traceback.format_exc())
372
373
def _write_locked(self, obj):
374
- s = json.dumps(obj) + "\n\n"
+ s = json.dumps(obj, cls=LightningRpc.LightningJSONEncoder) + "\n\n"
375
with self.write_lock:
376
self.stdout.write(s)
377
self.stdout.flush()
0 commit comments