diff --git a/src/inscriptions/envelope.rs b/src/inscriptions/envelope.rs index 274bf5f9cd..242d09f8c9 100644 --- a/src/inscriptions/envelope.rs +++ b/src/inscriptions/envelope.rs @@ -735,7 +735,7 @@ mod tests { fn chunked_data_is_parsable() { let mut witness = Witness::new(); - witness.push(&inscription("foo", [1; 1040]).append_reveal_script(script::Builder::new())); + witness.push(inscription("foo", [1; 1040]).append_reveal_script(script::Builder::new())); witness.push([]); diff --git a/src/wallet/batch/plan.rs b/src/wallet/batch/plan.rs index 704edc1ccd..c3402d3dbb 100644 --- a/src/wallet/batch/plan.rs +++ b/src/wallet/batch/plan.rs @@ -613,7 +613,7 @@ impl Plan { ); witness.push(reveal_script); - witness.push(&control_block.serialize()); + witness.push(control_block.serialize()); let recovery_key_pair = key_pair.tap_tweak(&secp256k1, taproot_spend_info.merkle_root()); @@ -746,7 +746,7 @@ impl Plan { .to_vec(), ); txin.witness.push(script); - txin.witness.push(&control_block.serialize()); + txin.witness.push(control_block.serialize()); } else { txin.witness = Witness::from_slice(&[&[0; SCHNORR_SIGNATURE_SIZE]]); } diff --git a/tests/lib.rs b/tests/lib.rs index 6afc3cefe1..19dfe3670f 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -187,7 +187,7 @@ fn batch(core: &mockcore::Handle, ord: &TestServer, batchfile: batch::File) -> E .ord(ord); for inscription in &batchfile.inscriptions { - builder = builder.write(&inscription.file.clone().unwrap(), "inscription"); + builder = builder.write(inscription.file.clone().unwrap(), "inscription"); } let mut spawn = builder.spawn();