From 3dff8de919e81710ebf498b32280edf89a8c3a4a Mon Sep 17 00:00:00 2001 From: EOS Classic Date: Tue, 21 Aug 2018 15:35:54 +0900 Subject: [PATCH] les: fix CHTRoot on nodeinfo for les2 mode --- les/commons.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/les/commons.go b/les/commons.go index 251b7a5833..524a54dd8e 100644 --- a/les/commons.go +++ b/les/commons.go @@ -87,7 +87,7 @@ func (c *lesCommons) nodeInfo() interface{} { cht = light.TrustedCheckpoint{ SectionIdx: sectionIndex, SectionHead: sectionHead, - CHTRoot: light.GetChtRoot(c.chainDb, sectionIndex, sectionHead), + CHTRoot: light.GetChtV2Root(c.chainDb, sectionIndex, sectionHead), BloomRoot: light.GetBloomTrieRoot(c.chainDb, sectionIndex, sectionHead), } }