les: fix nodeInfo CHT

This commit is contained in:
Zsolt Felfoldi 2018-08-15 21:47:46 +02:00
parent 7b55bb2dcd
commit f67f6c8387

View file

@ -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),
}
}