Skip to content

Commit cec2480

Browse files
Junha Yangjunha1
authored andcommitted
Fix wrong error message
1 parent 9129cb2 commit cec2480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl ScalarType for GqlH256 {
7272
&hex::decode(&s).map_err(|_| InputValueError::custom("Invalid public key".to_owned()))?,
7373
)))
7474
} else {
75-
Err(InputValueError::custom("Invalid public key".to_owned()))
75+
Err(InputValueError::custom("Invalid H256".to_owned()))
7676
}
7777
}
7878

0 commit comments

Comments
 (0)