diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 16:21:51 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 5539dc25cee34d9018d789deed68c3b1ae8f3d47 (patch) | |
tree | 046c4c8ef89c9f393afa96e9a1e23b053b86b527 /core/vm | |
parent | 40b1f02b48cd275b878e9c4308c4373f2c6329e2 (diff) | |
download | dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar.gz dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar.bz2 dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar.lz dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar.xz dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.tar.zst dexon-5539dc25cee34d9018d789deed68c3b1ae8f3d47.zip |
dex: bug fix to allow running geth without crashing
Diffstat (limited to 'core/vm')
-rw-r--r-- | core/vm/governance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go index 5bbb5a1ec..0cca0f409 100644 --- a/core/vm/governance.go +++ b/core/vm/governance.go @@ -1041,7 +1041,7 @@ func (s *GovernanceStateHelper) Node(index *big.Int) *nodeInfo { loc = new(big.Int).Add(elementBaseLoc, big.NewInt(2)) node.Staked = s.getStateBigInt(loc) - return nil + return node } func (s *GovernanceStateHelper) PushNode(n *nodeInfo) { // increase length by 1 |