X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Freorg_tests.rs;h=633eceddbd8721c19e5623cbc334bc648e57362d;hb=142fdca66e82750b0b023158d9ef5ad7979d168b;hp=fd9c4689b09e7d83b8d0bb80c28a97c6ed2a2586;hpb=17a74fcfc74936b48923bba5a416be73a01d2367;p=rust-lightning diff --git a/lightning/src/ln/reorg_tests.rs b/lightning/src/ln/reorg_tests.rs index fd9c4689..633ecedd 100644 --- a/lightning/src/ln/reorg_tests.rs +++ b/lightning/src/ln/reorg_tests.rs @@ -574,7 +574,7 @@ fn do_test_to_remote_after_local_detection(style: ConnectStyle) { if let Event::SpendableOutputs { outputs } = node_a_spendable.pop().unwrap() { assert_eq!(outputs.len(), 1); let spend_tx = nodes[0].keys_manager.backing.spend_spendable_outputs(&[&outputs[0]], Vec::new(), - Builder::new().push_opcode(opcodes::all::OP_RETURN).into_script(), 253, &Secp256k1::new()).unwrap(); + Builder::new().push_opcode(opcodes::all::OP_RETURN).into_script(), 253, None, &Secp256k1::new()).unwrap(); check_spends!(spend_tx, remote_txn_b[0]); } @@ -594,7 +594,7 @@ fn do_test_to_remote_after_local_detection(style: ConnectStyle) { if let Event::SpendableOutputs { outputs } = node_b_spendable.pop().unwrap() { assert_eq!(outputs.len(), 1); let spend_tx = nodes[1].keys_manager.backing.spend_spendable_outputs(&[&outputs[0]], Vec::new(), - Builder::new().push_opcode(opcodes::all::OP_RETURN).into_script(), 253, &Secp256k1::new()).unwrap(); + Builder::new().push_opcode(opcodes::all::OP_RETURN).into_script(), 253, None, &Secp256k1::new()).unwrap(); check_spends!(spend_tx, remote_txn_a[0]); } }