projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1202 from TheBlueMatt/2021-12-fix-retries-races
[rust-lightning]
/
lightning
/
src
/
routing
/
router.rs
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 00c3ee6bcebc947c5ba44b09ab1b5812f14a7406..e49844383bbceee091e9d42b7262416109b2d484 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-1521,6
+1521,7
@@
mod tests {
short_channel_id,
channel_value_satoshis: 0,
user_channel_id: 0,
short_channel_id,
channel_value_satoshis: 0,
user_channel_id: 0,
+ balance_msat: 0,
outbound_capacity_msat,
inbound_capacity_msat: 42,
unspendable_punishment_reserve: None,
outbound_capacity_msat,
inbound_capacity_msat: 42,
unspendable_punishment_reserve: None,
@@
-4665,6
+4666,7
@@
mod tests {
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
+ fn payment_path_successful(&mut self, _path: &[&RouteHop]) {}
}
struct BadNodeScorer {
}
struct BadNodeScorer {
@@
-4682,6
+4684,7
@@
mod tests {
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
+ fn payment_path_successful(&mut self, _path: &[&RouteHop]) {}
}
#[test]
}
#[test]