From f67f6c838754d1f03f01277b4d37244918459b8e Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Wed, 15 Aug 2018 21:47:46 +0200 Subject: [PATCH] les: fix nodeInfo CHT --- les/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/les/handler.go b/les/handler.go index b7678eb024..ccb4a88448 100644 --- a/les/handler.go +++ b/les/handler.go @@ -1232,7 +1232,7 @@ func (self *ProtocolManager) NodeInfo() *NodeInfo { cht = light.TrustedCheckpoint{ SectionIdx: sectionIndex, SectionHead: sectionHead, - CHTRoot: light.GetChtV2Root(self.chainDb, sectionIndex, sectionHead), + CHTRoot: light.GetChtRoot(self.chainDb, sectionIndex, sectionHead), BloomRoot: light.GetBloomTrieRoot(self.chainDb, sectionIndex, sectionHead), } }