From 58d83bcf844a23d2391d16eb1888b595b429ae9a Mon Sep 17 00:00:00 2001 From: Vincent Geddes <117534+vgeddes@users.noreply.github.com> Date: Fri, 31 May 2024 15:38:27 +0200 Subject: [PATCH] review feedback #2 --- relayer/relays/beefy/scanner.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/relayer/relays/beefy/scanner.go b/relayer/relays/beefy/scanner.go index efd0f1e0ee..fa316fd558 100644 --- a/relayer/relays/beefy/scanner.go +++ b/relayer/relays/beefy/scanner.go @@ -227,14 +227,6 @@ func scanCommitments(ctx context.Context, meta *types.Metadata, api *gsrpc.Subst } } -type ScanProvableCommitmentsResult struct { - SignedCommitment types.SignedCommitment - MMRProof merkle.SimplifiedMMRProof - BlockHash types.Hash - Depth uint64 - Error error -} - func makeProof(meta *types.Metadata, api *gsrpc.SubstrateAPI, blockNumber uint32, blockHash types.Hash) (bool, merkle.SimplifiedMMRProof, error) { proof1, err := api.RPC.MMR.GenerateProof(blockNumber, blockHash) if err != nil {