1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

revert unrelated changes

This commit is contained in:
schaeff 2020-03-02 12:04:13 +01:00
parent 91c0b6e8e5
commit 6da9911493
3 changed files with 2 additions and 10 deletions

2
Cargo.lock generated
View file

@ -1832,7 +1832,7 @@ dependencies = [
[[package]]
name = "zokrates_test"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"fs_extra",
"glob 0.3.0",

View file

@ -1,6 +1,6 @@
[package]
name = "zokrates_test"
version = "0.1.0"
version = "0.1.1"
authors = ["schaeff <thibaut@schaeff.fr>"]
edition = "2018"

View file

@ -36,14 +36,6 @@ struct Output {
type Val = String;
fn parse_val<T: Field>(s: String) -> T {
let s = if s.starts_with("0x") {
u32::from_str_radix(s.trim_start_matches("0x"), 16)
.unwrap()
.to_string()
} else {
s
};
T::try_from_dec_str(&s).unwrap()
}