Skip to content

Commit

Permalink
add back ShouldVerifyWithContext
Browse files Browse the repository at this point in the history
  • Loading branch information
wlawt committed Apr 23, 2024
1 parent 17406c4 commit 22c3b71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chain/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ func (b *StatelessBlock) initializeBuilt(
// implements "snowman.Block.choices.Decidable"
func (b *StatelessBlock) ID() ids.ID { return b.id }

// implements "block.WithVerifyContext"
func (b *StatelessBlock) ShouldVerifyWithContext(context.Context) (bool, error) {
return false, nil
}

// implements "block.WithVerifyContext"
func (b *StatelessBlock) VerifyWithContext(ctx context.Context, bctx *block.Context) error {
start := time.Now()
Expand Down

0 comments on commit 22c3b71

Please sign in to comment.