Skip to content

Commit

Permalink
review feedback #2
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeddes committed May 31, 2024
1 parent fd7db5b commit 58d83bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions relayer/relays/beefy/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 58d83bc

Please sign in to comment.