]> git.bitcoin.ninja Git - rust-lightning/commit
Add new invoice CreationError::InvalidAmount for use in checking `create_inbound_payment`
authorValentine Wallace <vwallace@protonmail.com>
Thu, 9 Dec 2021 22:41:33 +0000 (17:41 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 16 Dec 2021 23:32:22 +0000 (15:32 -0800)
commitd41499a26084c828de6542380b0b615093bda954
tree427a96d3099860938e88c5d2353cb85c66887f27
parent846487555556d8465c5b7b811f976e78f265c48f
Add new invoice CreationError::InvalidAmount for use in checking `create_inbound_payment`

in an invoice creation utility. Note that if the error type of `create_inbound_payment` ever
changed, we'd be forced to update the invoice utility's callsite to handle the new error
lightning-invoice/src/lib.rs
lightning-invoice/src/utils.rs