mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
690064f7e0
I originally converted input JSON naively into Millisatoshi, and the result was a strange failure in Millisatoshi.__eq__. It seems this is because inspect._empty.__eq__(Millisatoshi) raises NotImplemented, and so it tries Millisatoshi.__eq__(inspect._empty) which doesn't like it. 'is' is the correct test here, AFAICT, and doesn't suffer from these problems. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
init | ||
plugins | ||
pylightning | ||
Dockerfile.builder | ||
Dockerfile.builder.fedora | ||
Dockerfile.builder.i386 | ||
lightning-cli.bash-completion | ||
linuxarm32v7.Dockerfile | ||
short_channel_id-to-txid.sh |