diff --git a/validator-api/src/coconut/tests.rs b/validator-api/src/coconut/tests.rs index 9e45fd09bf..757eb9aa4a 100644 --- a/validator-api/src/coconut/tests.rs +++ b/validator-api/src/coconut/tests.rs @@ -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(¶ms, &key_pairs, &public_attributes).unwrap(); let key_pair = key_pairs.remove(0);