From f57900fcfd34c316e24d10e8e962389715fb352c Mon Sep 17 00:00:00 2001 From: Georgi Tsonev Date: Tue, 10 Dec 2024 13:37:10 +0200 Subject: [PATCH] Remoev interface SignDelegateAction --- packages/core/src/lib/wallet/transactions.types.ts | 12 ------------ packages/core/src/lib/wallet/wallet.types.ts | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/packages/core/src/lib/wallet/transactions.types.ts b/packages/core/src/lib/wallet/transactions.types.ts index a8cd37f0e..9190d2790 100644 --- a/packages/core/src/lib/wallet/transactions.types.ts +++ b/packages/core/src/lib/wallet/transactions.types.ts @@ -67,16 +67,6 @@ export interface DeleteAccountAction { }; } -export interface SignDelegateAction { - type: "SignDelegateAction"; - params: { - blockHeightTtl: number; - receiverId: string; - actions: Array; - callbackUrl?: string; - }; -} - export type Action = | CreateAccountAction | DeployContractAction @@ -87,8 +77,6 @@ export type Action = | DeleteKeyAction | DeleteAccountAction -export type DelegateAction = Action | SignDelegateAction; - export type ActionType = Action["type"]; export interface Transaction { diff --git a/packages/core/src/lib/wallet/wallet.types.ts b/packages/core/src/lib/wallet/wallet.types.ts index 6bb1e4b0f..20c604067 100644 --- a/packages/core/src/lib/wallet/wallet.types.ts +++ b/packages/core/src/lib/wallet/wallet.types.ts @@ -146,7 +146,7 @@ interface SignTransactionParams { export interface SignDelegateActionParams { blockHeightTtl: number; receiverId: string; - actions: Array; + actions: Array; callbackUrl?: string; }