Skip to content

Commit

Permalink
fix(sdk)!: overflow when using &&sdk in DapiRequestExecutor (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek authored Aug 20, 2024
1 parent 7accd40 commit 0f0e301
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/rs-sdk/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,17 +527,6 @@ impl DapiRequestExecutor for Sdk {
}
}

#[async_trait::async_trait]
impl DapiRequestExecutor for &Sdk {
async fn execute<R: TransportRequest>(
&self,
request: R,
settings: RequestSettings,
) -> Result<R::Response, DapiClientError<<R::Client as TransportClient>::Error>> {
DapiRequestExecutor::execute(self, request, settings).await
}
}

/// Dash Platform SDK Builder, used to configure and [`SdkBuilder::build()`] the [Sdk].
///
/// [SdkBuilder] implements a "builder" design pattern to allow configuration of the Sdk before it is instantiated.
Expand Down

0 comments on commit 0f0e301

Please sign in to comment.