1
0

LN invoices: support msat precision

fixes #6250
This commit is contained in:
SomberNight
2020-06-22 22:37:58 +02:00
parent 599797c966
commit d5f368c584
19 changed files with 260 additions and 135 deletions

View File

@@ -60,6 +60,9 @@ class StoredObject:
def to_json(self):
d = dict(vars(self))
d.pop('db', None)
# don't expose/store private stuff
d = {k: v for k, v in d.items()
if not k.startswith('_')}
return d