Skip to content

Commit 0cbbf92

Browse files
authored
Merge pull request #78 from jeffreybolle/master
Remove dbg! statements
2 parents 6d33727 + 9dea7af commit 0cbbf92

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ pub trait Transaction {
5151
rlp_bytes.insert(0usize, tt);
5252
}
5353

54-
dbg!(hex::encode(&rlp_bytes));
55-
5654
keccak256_hash(&rlp_bytes)
5755
}
5856

@@ -1076,14 +1074,12 @@ mod test {
10761074
T: std::fmt::Debug,
10771075
{
10781076
let mut file = File::open(&path).unwrap_or_else(|_| panic!("Failed to open: {}", path));
1079-
dbg!(path);
10801077
let mut f_string = String::new();
10811078
file.read_to_string(&mut f_string).unwrap();
10821079

10831080
let values: HashMap<String, serde_json::Value> = serde_json::from_str(&f_string).unwrap();
10841081

10851082
let transaction: T = serde_json::from_value(values["input"].clone()).unwrap();
1086-
dbg!(&values);
10871083
let expected_hash = match &values["output"]["hash"] {
10881084
serde_json::Value::String(ref h) => h.clone().replace("0x", ""),
10891085
serde_json::Value::Null => panic!("Test is missing `hash`"),

0 commit comments

Comments
 (0)