From f91927a3c34ff518dba796a4b6abdc20e934c054 Mon Sep 17 00:00:00 2001 From: Andronik Date: Tue, 30 Aug 2022 21:55:04 +0200 Subject: [PATCH] fix cargo check -p polkadot-node-core-provisioner --all-features --- node/core/provisioner/src/onchain_disputes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/core/provisioner/src/onchain_disputes.rs b/node/core/provisioner/src/onchain_disputes.rs index 6c83d77fc9c9..6810f512173f 100644 --- a/node/core/provisioner/src/onchain_disputes.rs +++ b/node/core/provisioner/src/onchain_disputes.rs @@ -49,8 +49,8 @@ mod staging_impl { }; /// Gets the on-chain disputes at a given block number and returns them as a `HashSet` so that searching in them is cheap. - pub async fn get_onchain_disputes( - sender: &mut Sender, + pub async fn get_onchain_disputes( + sender: &mut impl SubsystemSender, relay_parent: Hash, ) -> Result, GetOnchainDisputesError> { gum::trace!(target: LOG_TARGET, ?relay_parent, "Fetching on-chain disputes");