diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-12-20 15:21:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 8b9b63c5c11689a402ee07e4dbf251a8f40870eb (patch) | |
tree | f993a18801531d2caad141a75c3ac93132fa47e9 /core | |
parent | 7a6658c1b9fd55f822953ff20ec31fbe189c532e (diff) | |
download | dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar.gz dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar.bz2 dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar.lz dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar.xz dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.tar.zst dexon-8b9b63c5c11689a402ee07e4dbf251a8f40870eb.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 } |