Skip to content

Commit

Permalink
cleamn
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Oct 4, 2024
1 parent 1d6ae93 commit caf38b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ impl proto::world::world_server::World for DojoWorld {
) -> ServiceResult<Self::SubscribeIndexerStream> {
let SubscribeIndexerRequest { contract_address } = request.into_inner();
let rx = self
.subscribe_indexer(Felt::from_bytes_be_slice(contract_address.as_slice()))
.subscribe_indexer(Felt::from_bytes_be_slice(&contract_address))
.await
.map_err(|e| Status::internal(e.to_string()))?;
Ok(Response::new(Box::pin(ReceiverStream::new(rx)) as Self::SubscribeIndexerStream))

Check warning on line 1059 in crates/torii/grpc/src/server/mod.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/grpc/src/server/mod.rs#L1053-L1059

Added lines #L1053 - L1059 were not covered by tests
Expand Down

0 comments on commit caf38b2

Please sign in to comment.