Skip to content

Commit d45e04e

Browse files
committed
graph: Fix typo
1 parent deb19f0 commit d45e04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/src/data/graphql/values.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl TryFromValue for H256 {
4141
fn try_from_value(value: &Value) -> Result<Self, Error> {
4242
match value {
4343
Value::String(s) => {
44-
// `H160::from_str` takes a hex string with no leading `0x`.
44+
// `H256::from_str` takes a hex string with no leading `0x`.
4545
let string = s.trim_start_matches("0x");
4646
H256::from_str(string)
4747
.map_err(|e| format_err!("Cannot parse H256 value from string `{}`: {}", s, e))

0 commit comments

Comments
 (0)