Skip to content

Commit 1f563dd

Browse files
committed
biome fixes
1 parent 08405ae commit 1f563dd

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

basics/transfer-sol/asm/tests/instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Buffer } from "buffer";
1+
import { Buffer } from "node:buffer";
22
import { type PublicKey, SystemProgram, TransactionInstruction } from "@solana/web3.js";
33

44
export function createTransferInstruction(

basics/transfer-sol/asm/tests/test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ describe("transfer-sol (asm)", async () => {
1515
test("Transfer SOL via CPI to the system program", async () => {
1616
await getBalances(payer.publicKey, recipient.publicKey, "Beginning");
1717

18-
const ix = createTransferInstruction(
19-
payer.publicKey,
20-
recipient.publicKey,
21-
PROGRAM_ID,
22-
transferAmount,
23-
);
18+
const ix = createTransferInstruction(payer.publicKey, recipient.publicKey, PROGRAM_ID, transferAmount);
2419

2520
const tx = new Transaction();
2621
const [blockhash, _] = await client.getLatestBlockhash();

0 commit comments

Comments
 (0)