Skip to content

Commit

Permalink
Fix unlock address (#77)
Browse files Browse the repository at this point in the history
* Fix unlock address code to unlock any key including the node identity key

* Fix cli naming

* Remove unused endpoint
  • Loading branch information
filefilegoadmin committed Apr 2, 2023
1 parent 1c940e5 commit 51e39c3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/cli/client_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,6 @@ func UnlockAddress(ctx *cli.Context) error {
return fmt.Errorf("failed to read client endpoint file: %w", err)
}

endpointBackup := ctx.Args().Get(1)
if endpointBackup != "" {
endpoint = []byte(endpointBackup)
}

ffgclient, err := client.New(string(endpoint), http.DefaultClient)
if err != nil {
return fmt.Errorf("failed to setup client: %w", err)
Expand Down

0 comments on commit 51e39c3

Please sign in to comment.