Skip to content

Commit 10410eb

Browse files
authored
Merge pull request #309 from loomnetwork/testing
(dposv3) adding candidate state
2 parents a672b3d + 4cb2ad8 commit 10410eb

File tree

5 files changed

+937
-226
lines changed

5 files changed

+937
-226
lines changed

builtin/commands/commands.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func formatJSON(pb proto.Message) (string, error) {
1717
func Add(cmd *cobra.Command) {
1818
// AddDPOS(cmd) //No one should be using the old DPOS version
1919
AddDPOSV2(cmd)
20+
AddDPOSV3(cmd)
2021
AddCoin(cmd)
2122
AddGeneralCommands(cmd)
2223
AddAddressMapper(cmd)

builtin/commands/dposV2_commands.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ import (
1515

1616
const DPOSV2ContractName = "dposV2"
1717

18-
var (
19-
candidateName string
20-
candidateDescription string
21-
candidateWebsite string
22-
)
23-
2418
func UnregisterCandidateCmdV2() *cobra.Command {
2519
return &cobra.Command{
2620
Use: "unregister_candidateV2",

0 commit comments

Comments
 (0)