]> git.bitcoin.ninja Git - rust-lightning/commit
Rewrite Invoice's interface in terms of msats
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 4 Oct 2021 14:20:49 +0000 (09:20 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Oct 2021 06:12:31 +0000 (01:12 -0500)
commit5feb4dc9c4aea77be83427c66f7ec93551753d26
tree2caeb08e1f6e0b7ccc329e9de4211d4103513531
parent73f601fd3d1c9defe553392264ca6dbcc53e4334
Rewrite Invoice's interface in terms of msats

InvoiceBuilder's interface was changed recently to work in terms of
msats. Update Invoice's interface to return the amount in msats, too,
and make amount_pico_btc private.
lightning-invoice/src/lib.rs