From 1472fa9efa34443f1de50002491c8619a82ba5e9 Mon Sep 17 00:00:00 2001 From: Iulian Pascalau Date: Thu, 3 Feb 2022 10:16:13 +0200 Subject: [PATCH] - changed methods --- data/interface.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/interface.go b/data/interface.go index e89f12b29..d9c6e0460 100644 --- a/data/interface.go +++ b/data/interface.go @@ -239,10 +239,10 @@ type ChainHandler interface { GetGenesisHeaderHash() []byte SetGenesisHeaderHash(hash []byte) GetCurrentBlockHeader() HeaderHandler - SetCurrentBlockHeader(bh HeaderHandler) error + SetCurrentBlockHeaderAndRootHash(bh HeaderHandler, rootHash []byte) error GetCurrentBlockHeaderHash() []byte SetCurrentBlockHeaderHash(hash []byte) - GetCurrentBlockCommittedRootHash() []byte + GetCurrentBlockRootHash() []byte IsInterfaceNil() bool }