Skip to content

Commit

Permalink
Remoev interface SignDelegateAction
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed Dec 10, 2024
1 parent 0404fc8 commit f57900f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions packages/core/src/lib/wallet/transactions.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,6 @@ export interface DeleteAccountAction {
};
}

export interface SignDelegateAction {
type: "SignDelegateAction";
params: {
blockHeightTtl: number;
receiverId: string;
actions: Array<Action>;
callbackUrl?: string;
};
}

export type Action =
| CreateAccountAction
| DeployContractAction
Expand All @@ -87,8 +77,6 @@ export type Action =
| DeleteKeyAction
| DeleteAccountAction

Check failure on line 78 in packages/core/src/lib/wallet/transactions.types.ts

View workflow job for this annotation

GitHub Actions / Test Suite

Insert `;`

export type DelegateAction = Action | SignDelegateAction;

export type ActionType = Action["type"];

export interface Transaction {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/wallet/wallet.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ interface SignTransactionParams {
export interface SignDelegateActionParams {
blockHeightTtl: number;
receiverId: string;
actions: Array<DelegateAction>;
actions: Array<Action>;
callbackUrl?: string;
}

Expand Down

0 comments on commit f57900f

Please sign in to comment.