feat(keycard): `DeleteAccountForMigratedKeypair` endpoint added

This commit is contained in:
Sale Djenic 2023-01-10 10:38:34 +01:00 committed by saledjenic
parent d7caf67a52
commit dbf8a3c6be
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ func (api *API) DeleteAccount(ctx context.Context, address types.Address) error
return (*api.messenger).DeleteAccount(address) return (*api.messenger).DeleteAccount(address)
} }
func (api *API) DeleteAccountForMigratedKeypair(ctx context.Context, address types.Address) error {
return (*api.messenger).DeleteAccount(address)
}
func (api *API) AddAccountWatch(ctx context.Context, address string, name string, color string, emoji string) error { func (api *API) AddAccountWatch(ctx context.Context, address string, name string, color string, emoji string) error {
account := &accounts.Account{ account := &accounts.Account{
Address: types.Address(common.HexToAddress(address)), Address: types.Address(common.HexToAddress(address)),