Skip to content

Commit

Permalink
fix: size return values invalid index (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy authored Sep 27, 2023
1 parent 3a02cc6 commit 3eda043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/client/src/contract/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl<'a, P: Provider + Sync> ComponentReader<'a, P> {
.await
.map_err(ComponentError::ContractReaderError)?;

Ok(res[2])
Ok(res[1])
}

pub async fn layout(
Expand Down

0 comments on commit 3eda043

Please sign in to comment.