Skip to content

Commit 04447d6

Browse files
authored
fix(common): incorrect error message in get_error (#11631)
1 parent b3ee87d commit 04447d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub fn get_event(sig: &str) -> Result<Event> {
110110

111111
/// Given an error signature string, it tries to parse it as a `Error`
112112
pub fn get_error(sig: &str) -> Result<Error> {
113-
Error::parse(sig).wrap_err("could not parse event signature")
113+
Error::parse(sig).wrap_err("could not parse error signature")
114114
}
115115

116116
/// Given an event without indexed parameters and a rawlog, it tries to return the event with the

0 commit comments

Comments
 (0)