diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 16:21:51 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | 2c808da2a4e8b7c4801efef67a5b4bb91e392357 (patch) | |
tree | 5b0ed7f4ac291c33f976266f270ad1c37e4cf76b /core/vm | |
parent | e06704eba85a4c6136b024d636012259a3f9952a (diff) | |
download | go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar.gz go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar.bz2 go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar.lz go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar.xz go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.tar.zst go-tangerine-2c808da2a4e8b7c4801efef67a5b4bb91e392357.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 |