Skip to content

Commit 7e956b5

Browse files
authored
fix(wallet): allow delegated wallet import (#12876)
allow delegated wallet import
1 parent 28e6126 commit 7e956b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/wallet.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ var walletImport = &cli.Command{
404404
ki.Type = types.KTSecp256k1
405405
case 2:
406406
ki.Type = types.KTBLS
407+
case 3:
408+
ki.Type = types.KTDelegated
407409
default:
408410
return fmt.Errorf("unrecognized key type: %d", gk.SigType)
409411
}

0 commit comments

Comments
 (0)