chore: clippy in tests

This commit is contained in:
thesimplekid
2024-05-23 02:43:41 +01:00
parent 1f2a49b4bb
commit b108892bd4

View File

@@ -773,7 +773,7 @@ mod tests {
let conditions = Conditions {
locktime: Some(21000000000),
pubkeys: Some(vec![v_key_two, v_key_three]),
refund_keys: Some(vec![v_key.clone()]),
refund_keys: Some(vec![v_key]),
num_sigs: Some(2),
sig_flag: SigFlag::SigInputs,
};
@@ -785,7 +785,7 @@ mod tests {
let mut proof = Proof {
keyset_id: Id::from_str("009a1f293253e41e").unwrap(),
amount: Amount::ZERO,
secret: secret.clone().try_into().unwrap(),
secret,
c: PublicKey::from_str(
"02698c4e2b5f9534cd0687d87513c759790cf829aa5739184a3e3735471fbda904",
)