diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-05 13:49:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | ef995bce1bb3539b4ebea0ec12127c578e628fe6 (patch) | |
tree | 19c2fa492c3148d2cde4cdee1e68339aee90fc59 /light | |
parent | bd1c1224f8431db86db62506fee6e2bf2b8aa455 (diff) | |
download | dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar.gz dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar.bz2 dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar.lz dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar.xz dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.tar.zst dexon-ef995bce1bb3539b4ebea0ec12127c578e628fe6.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{} +} |