Skip to content

Commit

Permalink
fix(dapi-client): impl VersionedGrpcResponse for ExecutionResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Oct 22, 2024
1 parent 0e64251 commit 071d7b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rs-dapi-client/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ impl<T: VersionedGrpcResponse> VersionedGrpcResponse for ExecutionResponse<T> {
type Error = T::Error;

fn metadata(&self) -> Result<&dapi_grpc::platform::v0::ResponseMetadata, Self::Error> {
self.response.metadata()
self.inner.metadata()
}
fn proof(&self) -> Result<&dapi_grpc::platform::v0::Proof, Self::Error> {
self.response.proof()
self.inner.proof()
}
fn proof_owned(self) -> Result<dapi_grpc::platform::v0::Proof, Self::Error> {
self.response.proof_owned()
self.inner.proof_owned()
}
}

Expand Down

0 comments on commit 071d7b2

Please sign in to comment.