From f25aef2df9d8fee03569bdd47a923a24ed311299 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 5 Nov 2018 13:49:08 +0800 Subject: core: validate roundHeight mapping in governance contract --- light/lightchain.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'light') diff --git a/light/lightchain.go b/light/lightchain.go index 1a688e601..645f41ef0 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -533,3 +533,9 @@ func (self *LightChain) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscri func (self *LightChain) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription { return self.scope.Track(new(event.Feed).Subscribe(ch)) } + +// GetRoundHeightMap returns the mapping between round and height. +func (self *LightChain) GetRoundHeightMap() sync.Map { + // TODO(w): fix this. + return sync.Map{} +} -- cgit v1.2.3