From 7a5d27355d95e3dc6461345019dcf71ffc909465 Mon Sep 17 00:00:00 2001 From: YaroShkvorets Date: Thu, 14 Mar 2024 23:57:31 -0400 Subject: [PATCH] test --- antelope.trxstats/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antelope.trxstats/src/lib.rs b/antelope.trxstats/src/lib.rs index a9c3535..e01e247 100644 --- a/antelope.trxstats/src/lib.rs +++ b/antelope.trxstats/src/lib.rs @@ -25,7 +25,7 @@ fn parse_params(input: String) -> Result { 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::() .map_err(|_| Error::Unexpected(format!("Invalid param value for key '{}'", key)))?;