aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-06 22:12:40 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:18 +0800
commit32dcd528f9152d6fe3e32f76adb1ea3c595910de (patch)
tree68a8468659525481527b417548ff4c9e39e17cb7 /core/blockchain.go
parentc1548136288e12b83a993821b5668899aca53804 (diff)
downloadgo-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar.gz
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar.bz2
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar.lz
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar.xz
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.tar.zst
go-tangerine-32dcd528f9152d6fe3e32f76adb1ea3c595910de.zip
core: vm: governance: add node info
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 04b154ade..c44d2633a 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -231,6 +231,10 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, chainConfig *par
}
}
}
+
+ // Set genesis round height mapping.
+ bc.roundHeightMap.Store(0, 0)
+
// Take ownership of this particular state
go bc.update()
return bc, nil