Skip to content

Commit 426cf16

Browse files
committed
fix: invalid parsing for hex string
1 parent 49e73af commit 426cf16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl EventInfo {
302302
}
303303

304304
pub fn topic_id_as_hex_string(&self) -> String {
305-
format!("0x{:x}", self.topic_id())
305+
format!("{:x}", self.topic_id())
306306
}
307307

308308
pub fn struct_result(&self) -> &str {

0 commit comments

Comments
 (0)