core-lightning/contrib/pylightning/lightning
Rusty Russell 6e63d79159 pylightning: translate msat input to class Millisatoshi
Rather than using LightningJSONDecoder's implicit "field name and
value ends in msat, try converting to Millisatoshi", we do it to
parameters using type annotations.

If you had a parameter which was an array or dict itself, we don't
delve into that, but that's probably OK.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-25 21:45:21 +00:00
..
__init__.py pylightning: handle msat fields in JSON more appropriately. 2019-02-21 03:44:44 +00:00
lightning.py pylightning: provide a class for Lightning JSONDecoder. 2019-02-25 21:45:21 +00:00
plugin.py pylightning: translate msat input to class Millisatoshi 2019-02-25 21:45:21 +00:00