projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de117e
)
Fix uneccessary mut found by 1.22
2019-02-306-nits
author
Matt Corallo
<git@bluematt.me>
Mon, 11 Feb 2019 17:07:37 +0000
(12:07 -0500)
committer
Matt Corallo
<git@bluematt.me>
Mon, 11 Feb 2019 17:09:11 +0000
(12:09 -0500)
src/ln/functional_tests.rs
patch
|
blob
|
history
diff --git
a/src/ln/functional_tests.rs
b/src/ln/functional_tests.rs
index fdb07e903f13cc2ad214179b33c83686f645fa04..58c8cd629856269b92e23562bb78293b0914199c 100644
(file)
--- a/
src/ln/functional_tests.rs
+++ b/
src/ln/functional_tests.rs
@@
-4806,7
+4806,7
@@
fn test_update_add_htlc_bolt2_sender_exceed_max_htlc_num_and_htlc_id_increment()
for i in 0..max_accepted_htlcs {
let route = nodes[0].router.get_route(&nodes[1].node.get_our_node_id(), None, &[], 100000, TEST_FINAL_CLTV).unwrap();
let (_, our_payment_hash) = get_payment_preimage_hash!(nodes[0]);
- let
mut
payment_event = {
+ let payment_event = {
nodes[0].node.send_payment(route, our_payment_hash).unwrap();
check_added_monitors!(nodes[0], 1);