Removed unnecessary to-owned conversion

This commit is contained in:
Jędrzej Stuczyński
2022-08-09 15:25:45 +01:00
parent 58d09e382a
commit de78ca8d9b
+1 -1
View File
@@ -716,7 +716,7 @@ async fn verification_of_bandwidth_credential() {
let voucher_info = "voucher info";
let public_attributes = vec![
hash_to_scalar(voucher_value.to_string()),
hash_to_scalar(voucher_info.to_string()),
hash_to_scalar(voucher_info),
];
let theta = theta_from_keys_and_attributes(&params, &key_pairs, &public_attributes).unwrap();
let key_pair = key_pairs.remove(0);