Fix holding cell freeing in case we fail to add some HTLC
[rust-lightning] / src / ln / functional_test_utils.rs
index 4ce090a2881ac718fc942a68aa8602dcbd1e1bf6..7034b6ada52672edb655af3dfd96b4a041867b19 100644 (file)
@@ -702,7 +702,7 @@ pub fn route_over_limit(origin_node: &Node, expected_route: &[&Node], recv_value
 
        let err = origin_node.node.send_payment(route, our_payment_hash).err().unwrap();
        match err {
-               APIError::ChannelUnavailable{err} => assert_eq!(err, "Cannot send value that would put us over our max HTLC value in flight"),
+               APIError::ChannelUnavailable{err} => assert_eq!(err, "Cannot send value that would put us over the max HTLC value in flight"),
                _ => panic!("Unknown error variants"),
        };
 }