Skip to content

Commit

Permalink
node: Accept external key config in executeWithdrawal action
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Jan 15, 2025
1 parent 6d89408 commit b64d857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/node/src/actions/executeWithdrawal.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
type Config,
type RenegadeConfig,
type WithdrawParameters,
type WithdrawReturnType,
getWalletId,
Expand All @@ -9,11 +9,11 @@ import {
} from '@renegade-fi/core'

export type ExecuteWithdrawalParameters = WithdrawParameters & {
awaitTask: boolean
awaitTask?: boolean
}

export async function executeWithdrawal(
config: Config,
config: RenegadeConfig,
parameters: ExecuteWithdrawalParameters,
): WithdrawReturnType {
const walletId = getWalletId(config)
Expand Down

0 comments on commit b64d857

Please sign in to comment.