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 }