Skip to content

Commit 3bebf5c

Browse files
committed
fmt
1 parent 01ccf40 commit 3bebf5c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/rs-sdk/src/mock/provider.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,19 @@ impl ContextProvider for GrpcContextProvider {
193193
quorum_hash: [u8; 32],
194194
core_chain_locked_height: u32,
195195
) -> std::pin::Pin<
196-
Box<dyn std::future::Future<Output = Result<[u8; 48], ContextProviderError>> + Send + 'static>,
196+
Box<
197+
dyn std::future::Future<Output = Result<[u8; 48], ContextProviderError>>
198+
+ Send
199+
+ 'static,
200+
>,
197201
> {
198202
// For now, we just wrap the synchronous version in an async block
199203
// In the future, this can be made truly async if the core client supports it
200-
let result = self.get_quorum_public_key_sync_impl(quorum_type, quorum_hash, core_chain_locked_height);
204+
let result = self.get_quorum_public_key_sync_impl(
205+
quorum_type,
206+
quorum_hash,
207+
core_chain_locked_height,
208+
);
201209
Box::pin(async move { result })
202210
}
203211

0 commit comments

Comments
 (0)