From 8aa6a34611c98baf7b606ed649f289139f9bf255 Mon Sep 17 00:00:00 2001 From: shreekara shastry <66725577+shreekarashastry@users.noreply.github.com> Date: Thu, 30 Jun 2022 16:10:33 -0500 Subject: [PATCH] extblock: added uncles to the external blocks --- les/api_backend.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/les/api_backend.go b/les/api_backend.go index f05a4500e1..a236dab0d5 100644 --- a/les/api_backend.go +++ b/les/api_backend.go @@ -120,6 +120,10 @@ func (b *LesApiBackend) AddExternalBlock(block *types.ExternalBlock) error { return errors.New("light client does not support external block caching.") } +func (b *LesApiBackend) GetExternalBlockTraceSet(header *types.Header, context int) (*types.ExternalBlock, error) { + return nil, errors.New("light client does not support external block caching.") +} + func (b *LesApiBackend) ReOrgRollBack(header *types.Header) error { return errors.New("light client does not support reorg.") }