Skip to content

Commit 1e1fa16

Browse files
committed
More using Signer instead of Keypair
1 parent 97bcfab commit 1e1fa16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wrappers/instructionBuffer/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { TransactionEnvelope } from "@saberhq/solana-contrib";
22
import type {
33
AccountMeta,
44
PublicKey,
5+
Signer,
56
TransactionInstruction,
67
} from "@solana/web3.js";
78
import { Keypair } from "@solana/web3.js";
@@ -45,7 +46,7 @@ export class InstructionBufferWrapper {
4546
numBundles?: number;
4647
authority?: PublicKey;
4748
executor?: PublicKey;
48-
bufferAccount?: Keypair;
49+
bufferAccount?: Signer;
4950
}): Promise<PendingBuffer> {
5051
const accounts = {
5152
buffer: bufferAccount.publicKey,

0 commit comments

Comments
 (0)