Skip to content

Commit

Permalink
make payer optional in IWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Sep 25, 2024
1 parent 22d26dc commit 3d7b766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ export interface IWallet {
signTransaction(tx: Transaction): Promise<Transaction>;
signAllTransactions(txs: Transaction[]): Promise<Transaction[]>;
publicKey: PublicKey;
payer: Keypair;
payer?: Keypair;
}
export interface IVersionedWallet {
signVersionedTransaction(
Expand All @@ -1120,7 +1120,7 @@ export interface IVersionedWallet {
txs: VersionedTransaction[]
): Promise<VersionedTransaction[]>;
publicKey: PublicKey;
payer: Keypair;
payer?: Keypair;
}

export type FeeStructure = {
Expand Down

0 comments on commit 3d7b766

Please sign in to comment.