Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Update enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanco committed May 22, 2023
1 parent cdff96a commit 1780ace
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions framework/src/modules/poa/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Removal or modification of this copyright notice is prohibited.
*/

export enum UpdateAuthorityEnum {
UPDATE_AUTHORITY_SUCCESS,
UPDATE_AUTHORITY_FAIL_INVALID_SIGNATURE,
export enum UpdateAuthority {
SUCCESS = 0,
FAIL_INVALID_SIGNATURE,
}
4 changes: 2 additions & 2 deletions framework/src/modules/poa/events/authority_update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
*/

import { BaseEvent, EventQueuer } from '../../base_event';
import { UpdateAuthorityEnum } from '../constants';
import { UpdateAuthority } from '../constants';

export interface AuthorityUpdateData {
result: UpdateAuthorityEnum;
result: UpdateAuthority;
}

export const authorityUpdateDataSchema = {
Expand Down

0 comments on commit 1780ace

Please sign in to comment.