X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2Fsrc%2Fpayment.rs;h=ee85fab0b5dbe8081d3b21e367c36125c28ecf92;hb=7bc52aa62cb3c32f51b242ad3fa0ae16aee80cec;hp=a1c0db58fa4792a5e340a10f9393b3ae90def96f;hpb=2e7d924d9ba7255e787c6fff1f38e39dc8c9a0e8;p=rust-lightning diff --git a/lightning-invoice/src/payment.rs b/lightning-invoice/src/payment.rs index a1c0db58..ee85fab0 100644 --- a/lightning-invoice/src/payment.rs +++ b/lightning-invoice/src/payment.rs @@ -1913,7 +1913,7 @@ mod tests { #[cfg(c_bindings)] impl lightning::util::ser::Writeable for TestScorer { - fn write(&self, _: &mut W) -> Result<(), std::io::Error> { unreachable!(); } + fn write(&self, _: &mut W) -> Result<(), lightning::io::Error> { unreachable!(); } } impl Score for TestScorer {