Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 2938735

Browse files
authored
Merge pull request #46 from pyth-network/aptos/fix-lint
Fix linter errors
2 parents 72641f3 + 4def66b commit 2938735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyth-aptos-js/src/examples/AptosRelay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ async function run() {
4545
);
4646

4747
// Update the Pyth Contract using this update data
48-
let sender = new AptosAccount(Buffer.from(process.env[APTOS_KEY]!, "hex"));
48+
const sender = new AptosAccount(Buffer.from(process.env[APTOS_KEY]!, "hex"));
4949
const client = new AptosClient(argv.fullNode);
50-
let result = await client.generateSignSubmitWaitForTransaction(
50+
const result = await client.generateSignSubmitWaitForTransaction(
5151
sender,
5252
new TxnBuilderTypes.TransactionPayloadEntryFunction(
5353
TxnBuilderTypes.EntryFunction.natural(

0 commit comments

Comments
 (0)