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

Commit 4def66b

Browse files
committed
Restore env variable
1 parent 07900d8 commit 4def66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function run() {
4545
);
4646

4747
// Update the Pyth Contract using this update data
48-
const 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);
5050
const result = await client.generateSignSubmitWaitForTransaction(
5151
sender,

0 commit comments

Comments
 (0)