Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fixup) pylightning: remove 'Satoshi' class.
All the world is now Millisatoshis. You can initialize Millisatoshis with 'sat' or 'btc'-appended strings though, and we have converters to those versions too. Makes things a bit simpler. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
1 parent
f61a92a
commit 9589a6f
Showing
4 changed files
with
47 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,2 +1,2 @@ | |||
from .lightning import LightningRpc, RpcError, Satoshi, Millisatoshi | from .lightning import LightningRpc, RpcError, Millisatoshi | ||
from .plugin import Plugin, monkey_patch | from .plugin import Plugin, monkey_patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters