Skip to content

Commit 67b3aad

Browse files
0.20.9
1 parent 2828bb4 commit 67b3aad

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/internal/extend-state-lut.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const cpis = [
5353
const data = await createStateTreeLookupTable({
5454
connection,
5555
payer,
56-
authority: AUTHORITY_KEYPAIR,
56+
authority: AUTHORITY_KEYPAIR!,
5757
recentSlot: await connection.getSlot(),
5858
});
5959

@@ -67,7 +67,7 @@ const cpis = [
6767
newQueueAddresses: queueAddresses.slice(0, queueAddresses.length / 2),
6868
newCpiContextAddresses: cpis.slice(0, cpis.length / 2),
6969
payer,
70-
authority: AUTHORITY_KEYPAIR,
70+
authority: AUTHORITY_KEYPAIR!,
7171
});
7272

7373
await extendStateTreeLookupTable({
@@ -79,6 +79,6 @@ const cpis = [
7979
newQueueAddresses: queueAddresses.slice(queueAddresses.length / 2),
8080
newCpiContextAddresses: cpis.slice(cpis.length / 2),
8181
payer,
82-
authority: AUTHORITY_KEYPAIR,
82+
authority: AUTHORITY_KEYPAIR!,
8383
});
8484
})();

src/scripts/mint-spl.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const connection: Rpc = createRpc(RPC_ENDPOINT, RPC_ENDPOINT);
1616
// await connection.requestAirdrop(payer.publicKey, 1e7)
1717
// );
1818

19-
const activeStateTrees = await connection.getCachedActiveStateTreeInfo();
20-
2119
const { mint, transactionSignature } = await createMint(
2220
connection,
2321
payer,

0 commit comments

Comments
 (0)