Merge pull request #2558 from waterson/pr-2554
[rust-lightning] / lightning / src / ln / functional_tests.rs
index 1d67b736ae386e6e09d696973ec103806b13e896..8ceb9728931972e4d172540b801db379370404eb 100644 (file)
@@ -9045,7 +9045,7 @@ fn test_duplicate_chan_id() {
                }
        };
        check_added_monitors!(nodes[0], 0);
-       nodes[1].node.handle_funding_created(&nodes[0].node.get_our_node_id(), &funding_created);
+       nodes[1].node.handle_funding_created(&nodes[0].node.get_our_node_id(), &funding_created.unwrap());
        // At this point we'll look up if the channel_id is present and immediately fail the channel
        // without trying to persist the `ChannelMonitor`.
        check_added_monitors!(nodes[1], 0);