]> git.bitcoin.ninja Git - rust-lightning/commit
Remove currency support from invoice_utils
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 8 Nov 2024 17:44:00 +0000 (11:44 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 8 Nov 2024 17:44:00 +0000 (11:44 -0600)
commit284cb28af291b94e9351160c22cf881680b7d1b2
tree514569153a733e1086db574763f3f096ffeb1a57
parent0ea225cfe7ea2d7e8e3692f6dcd3984232e78482
Remove currency support from invoice_utils

When creating an invoice using a ChannelManager, payments for a specific
ChainHash / Network are only valid. Use the one from the ChannelManager
instead of allowing arbitrary ones in the form of a Currency.
lightning/src/ln/channelmanager.rs
lightning/src/ln/invoice_utils.rs