]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Merge pull request #1134 from jkczyz/2021-10-payee-arg
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Mon, 25 Oct 2021 16:09:06 +0000 (16:09 +0000)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 16:09:06 +0000 (16:09 +0000)
Payee abstraction for use in get_route and PaymentPathFailed

1  2 
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs

Simple merge
index fc57bafdd03c47d10a6e0bfa2f376fe27cae8c48,b45fbd3184c9849320bb1b1c165881e1e7afcf51..fb6c1e489f4d08c711baa366503c664201a5526c
@@@ -14,9 -14,9 +14,9 @@@ use chain::{BestBlock, Confirm, Listen
  use chain::channelmonitor::ChannelMonitor;
  use chain::transaction::OutPoint;
  use ln::{PaymentPreimage, PaymentHash, PaymentSecret};
 -use ln::channelmanager::{ChainParameters, ChannelManager, ChannelManagerReadArgs, RAACommitmentOrder, PaymentSendFailure};
 +use ln::channelmanager::{ChainParameters, ChannelManager, ChannelManagerReadArgs, RAACommitmentOrder, PaymentSendFailure, PaymentId};
  use routing::network_graph::{NetGraphMsgHandler, NetworkGraph};
- use routing::router::{Route, get_route};
+ use routing::router::{Payee, Route, get_route};
  use routing::scorer::Scorer;
  use ln::features::{InitFeatures, InvoiceFeatures};
  use ln::msgs;
Simple merge
Simple merge