aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-05 13:49:08 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commitf25aef2df9d8fee03569bdd47a923a24ed311299 (patch)
tree0f4327925c48dbff3e4f2cc3c202bbb7231e4208 /light
parent0542a6a1b13c3c1235f68a2d0cca23976c241ca9 (diff)
downloadgo-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar.gz
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar.bz2
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar.lz
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar.xz
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.tar.zst
go-tangerine-f25aef2df9d8fee03569bdd47a923a24ed311299.zip
core: validate roundHeight mapping in governance contract
Diffstat (limited to 'light')
-rw-r--r--light/lightchain.go6
1 files changed, 6 insertions, 0 deletions
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{}
+}