Merge pull request #267 from harmony-one/fix_issue_266

change version to 0.2.0
pull/270/head
Haodi 3 years ago committed by GitHub
commit abe7a78a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/governance/cli.go

@ -126,7 +126,7 @@ type NewProposalYaml struct {
} }
var proposalTemplate = []byte(`{ var proposalTemplate = []byte(`{
"version": "0.1.3", "version": "0.2.0",
"type": "proposal", "type": "proposal",
"payload": { "payload": {
"metadata": { "metadata": {
@ -252,7 +252,7 @@ func Vote(keyStore *keystore.KeyStore, account accounts.Account, proposalHash st
} }
voteJson := &VoteMessage{ voteJson := &VoteMessage{
Version: "0.1.3", Version: "0.2.0",
Timestamp: fmt.Sprintf("%d", time.Now().Unix()), Timestamp: fmt.Sprintf("%d", time.Now().Unix()),
Space: proposals.parsedMsg.Space, Space: proposals.parsedMsg.Space,
Type: "vote", Type: "vote",

Loading…
Cancel
Save