diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-05 13:49:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:52 +0800 |
commit | c66af2d7f54b14e856c3d3b6a98a961daf617216 (patch) | |
tree | 9f9ceb4abf1ead399de23abe9efe7f8ebbfe510b /light | |
parent | a2daec1ea649de60557c382bb3756ddf2466b2b2 (diff) | |
download | dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar.gz dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar.bz2 dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar.lz dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar.xz dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.tar.zst dexon-c66af2d7f54b14e856c3d3b6a98a961daf617216.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 2a6c821bd..688d5a217 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{} +} |