]> git.bitcoin.ninja Git - rust-lightning/commit
Make `InvoicePayer`'s `Router` `Deref`
authorElias Rohrer <ero@tnull.de>
Mon, 16 Jan 2023 22:54:53 +0000 (16:54 -0600)
committerElias Rohrer <ero@tnull.de>
Mon, 16 Jan 2023 22:54:53 +0000 (16:54 -0600)
commitbc8e1e51e952a1020278c05b1e55ed2231d3db48
tree0c1eb5004f36110ca45ac75e49a3105d8035db14
parentce6bcf68a15331c082b34d09902241583bc6ff71
Make `InvoicePayer`'s `Router` `Deref`

As of HEAD the `ChannelManager` is parametrized by a `Router`, while
`InvoicePayer` also owns a `Router`. In order to allow for a single
object being reused, we make the `InvoicePayer` side `Deref`.
lightning-background-processor/src/lib.rs
lightning-invoice/src/payment.rs