From 109f5bc4ebeb14070bdd92a7f996d8f0f8b3571a Mon Sep 17 00:00:00 2001 From: William Law Date: Tue, 23 Apr 2024 15:03:24 -0400 Subject: [PATCH] add back ShouldVerifyWithContext --- chain/block.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chain/block.go b/chain/block.go index 687ad80db5..6a42564d1f 100644 --- a/chain/block.go +++ b/chain/block.go @@ -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) error { + return nil +} + // implements "block.WithVerifyContext" func (b *StatelessBlock) VerifyWithContext(ctx context.Context, bctx *block.Context) error { start := time.Now()