Skip to content

Commit

Permalink
add delegated wallet support (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr authored Feb 10, 2025
1 parent 14078f6 commit 4e87b11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/boost/wallet_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var walletCmd = &cli.Command{
var walletNew = &cli.Command{
Name: "new",
Usage: "Generate a new key of the given type",
ArgsUsage: "[bls|secp256k1 (default secp256k1)]",
ArgsUsage: "[bls|secp256k1|delegated (default secp256k1)]",
Action: func(cctx *cli.Context) error {
ctx := lcli.ReqContext(cctx)

Expand Down Expand Up @@ -459,6 +459,8 @@ var walletImport = &cli.Command{
ki.Type = types.KTSecp256k1
case 2:
ki.Type = types.KTBLS
case 3:
ki.Type = types.KTDelegated
default:
return fmt.Errorf("unrecognized key type: %d", gk.SigType)
}
Expand Down

0 comments on commit 4e87b11

Please sign in to comment.