We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb19f0 commit d45e04eCopy full SHA for d45e04e
graph/src/data/graphql/values.rs
@@ -41,7 +41,7 @@ impl TryFromValue for H256 {
41
fn try_from_value(value: &Value) -> Result<Self, Error> {
42
match value {
43
Value::String(s) => {
44
- // `H160::from_str` takes a hex string with no leading `0x`.
+ // `H256::from_str` takes a hex string with no leading `0x`.
45
let string = s.trim_start_matches("0x");
46
H256::from_str(string)
47
.map_err(|e| format_err!("Cannot parse H256 value from string `{}`: {}", s, e))
0 commit comments