Skip to content

Commit

Permalink
fix: remove unused cmds and dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Sep 22, 2022
1 parent 558cf39 commit c44b7e3
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 847 deletions.
3 changes: 0 additions & 3 deletions cmd/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ var defaultAddressCmd = &cmds.Command{
}

var setDefaultAddressCmd = &cmds.Command{
Extra: AdminExtra,
Arguments: []cmds.Argument{
cmds.StringArg("address", true, false, "address to set default for"),
},
Expand Down Expand Up @@ -232,7 +231,6 @@ type WalletSerializeResult struct {
}

var walletImportCmd = &cmds.Command{
Extra: AdminExtra,
Arguments: []cmds.Argument{
cmds.FileArg("walletFile", true, false, "File containing wallet data to import").EnableStdin(),
},
Expand Down Expand Up @@ -270,7 +268,6 @@ var walletImportCmd = &cmds.Command{

var (
walletExportCmd = &cmds.Command{
Extra: AdminExtra,
Arguments: []cmds.Argument{
cmds.StringArg("addr", true, true, "address of key to export"),
cmds.StringArg("password", false, false, "Password to be locked"),
Expand Down
1 change: 0 additions & 1 deletion cmd/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var chainCmd = &cmds.Command{
"get-message": chainGetMessageCmd,
"get-block-messages": chainGetBlockMessagesCmd,
"get-receipts": chainGetReceiptsCmd,
"disputer": chainDisputeSetCmd,
"export": chainExportCmd,
},
}
Expand Down
13 changes: 0 additions & 13 deletions cmd/commands_test.go

This file was deleted.

Loading

0 comments on commit c44b7e3

Please sign in to comment.