diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-05 13:49:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 1a75ec877713fb50021410a5d0474563299b16a0 (patch) | |
tree | 9d6fc5e152769faad486a0b5f4f894c68165ee1e /light | |
parent | fd48d4b21645ee8fd8cfafe63f7bd2630bb77611 (diff) | |
download | dexon-1a75ec877713fb50021410a5d0474563299b16a0.tar.gz dexon-1a75ec877713fb50021410a5d0474563299b16a0.tar.zst dexon-1a75ec877713fb50021410a5d0474563299b16a0.zip |
core: validate roundHeight mapping in governance contract
Diffstat (limited to 'light')
-rw-r--r-- | light/lightchain.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/light/lightchain.go b/light/lightchain.go index e0851a88e..a07cfedf7 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{} +} |