Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Mar 15, 2024
1 parent 8aca99d commit 7a5d273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antelope.trxstats/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn parse_params(input: String) -> Result<Params, Error> {
for param in input.split('&') {
let (key, value) = param
.split_once('=')
.ok_or_else(|| Error::Unexpected(format!("Invalid parameter format: {}", param)))?;
.ok_or_else(|| substreams::errors::Error::Unexpected(format!("Invalid parameter format: {}", param)))?;
let parsed_value = value
.parse::<u32>()
.map_err(|_| Error::Unexpected(format!("Invalid param value for key '{}'", key)))?;
Expand Down

0 comments on commit 7a5d273

Please sign in to comment.