From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Fri, 3 Dec 2021 21:04:41 +0000 (+0000) Subject: Merge pull request #1197 from jkczyz/2021-11-score-successful-payment-path X-Git-Tag: v0.0.104~16 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ea89286569c95c4eb9a692f9aaf9f1e647d012ef;p=rust-lightning Merge pull request #1197 from jkczyz/2021-11-score-successful-payment-path Score successful payment paths --- ea89286569c95c4eb9a692f9aaf9f1e647d012ef diff --cc lightning-invoice/src/payment.rs index 46bd86fb0,ce942ef57..e785bb392 --- a/lightning-invoice/src/payment.rs +++ b/lightning-invoice/src/payment.rs @@@ -80,9 -84,10 +84,10 @@@ //! # &self, _short_channel_id: u64, _send_amt: u64, _chan_amt: Option, _source: &NodeId, _target: &NodeId //! # ) -> u64 { 0 } //! # fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {} + //! # fn payment_path_successful(&mut self, _path: &[&RouteHop]) {} //! # } //! # -//! # struct FakeLogger {}; +//! # struct FakeLogger {} //! # impl Logger for FakeLogger { //! # fn log(&self, record: &Record) { unimplemented!() } //! # }