Skip to content

Commit

Permalink
fix typo for abigen function test
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Sep 25, 2023
1 parent 9ec158e commit 00474cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions starknet-macros/src/abigen/expand/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ mod tests {
v1: &starknet::core::types::FieldElement,
v2: &starknet::core::types::FieldElement
) -> starknet::contract::abi::cairo_types::Result<starknet::core::types::FieldElement> {
use starknet::contract::abi::cairo_types::{self, Error as CairoError};
use starknet::contract::abi::CairoType;
use starknet::core::types::{BlockId, BlockTag};

Expand All @@ -212,7 +211,7 @@ mod tests {
},
BlockId::Tag(BlockTag::Latest),
)
.await.map_err(|err| starknet::contract::abi::cairo_types::Error::Deserialize(format!("Deserialization error {:}" , err)))?;
.await.map_err(|err| starknet::contract::abi::cairo_types::Error::Deserialize(format!("Deserialization error {}" , err)))?;

starknet::core::types::FieldElement::deserialize(&r, 0)
}
Expand Down

0 comments on commit 00474cc

Please sign in to comment.