Move PaymentId to a [u8; 32] in bindings as for other hash objects
[rust-lightning] / lightning / src / ln / shutdown_tests.rs
index 7a089112454779572d8052410b8818ca68dadbb5..d4280bb71516ad7ca2db6666936512e0a2dfe2a8 100644 (file)
@@ -82,7 +82,7 @@ fn updates_shutdown_wait() {
        let chan_1 = create_announced_chan_between_nodes(&nodes, 0, 1, InitFeatures::known(), InitFeatures::known());
        let chan_2 = create_announced_chan_between_nodes(&nodes, 1, 2, InitFeatures::known(), InitFeatures::known());
        let logger = test_utils::TestLogger::new();
-       let scorer = Scorer::new(0);
+       let scorer = Scorer::with_fixed_penalty(0);
 
        let (our_payment_preimage, our_payment_hash, _) = route_payment(&nodes[0], &[&nodes[1], &nodes[2]], 100000);