aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-20 15:21:17 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit1c3de255e5507b32116bb37ba206fe66d6edde35 (patch)
tree45fb0a78f65c5a850abda68694d9c1656f8aab84
parent688f2f832e7513cedbd7f51bced6ed76348e2b2f (diff)
downloadgo-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar.gz
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar.bz2
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar.lz
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar.xz
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.tar.zst
go-tangerine-1c3de255e5507b32116bb37ba206fe66d6edde35.zip
core/vm: fix nodes method in governance
-rw-r--r--core/vm/governance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go
index f423c4ca3..07f0a5479 100644
--- a/core/vm/governance.go
+++ b/core/vm/governance.go
@@ -1165,7 +1165,7 @@ func RunGovernanceContract(evm *EVM, input []byte, contract *Contract) (ret []by
info := g.state.Node(index)
res, err := method.Outputs.Pack(
info.Owner, info.PublicKey, info.Staked,
- info.Name, info.Email, info.Location, info.Url)
+ info.Name, info.Email, info.Location, info.Url, info.Unstaked)
if err != nil {
return nil, errExecutionReverted
}