diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-12-20 15:21:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:55 +0800 |
commit | cb681396102175b1651363b3060c5b759a3ee9b2 (patch) | |
tree | 64584ea9f89bfccab6a2fd562985f54ddcd89e27 /core | |
parent | 38c9e34a926f9dc924bfe54cf25c15139acf725b (diff) | |
download | go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar.gz go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar.bz2 go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar.lz go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar.xz go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.tar.zst go-tangerine-cb681396102175b1651363b3060c5b759a3ee9b2.zip |
core/vm: fix nodes method in governance
Diffstat (limited to 'core')
-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 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 } |