Skip to content

Commit 77f9b3e

Browse files
committed
chore: add vars
1 parent 30bf474 commit 77f9b3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lazer/js/src/verify_ed25519_message.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ async function main() {
7373
1,
7474
12,
7575
);
76+
const ed25519InstructionIndex = 0;
77+
const signatureIndex = 0;
7678
const lazerInstruction = await program.methods
77-
.verifyMessage(instructionMessage, 0, 0)
79+
.verifyMessage(instructionMessage, ed25519InstructionIndex, signatureIndex)
7880
.accounts({
7981
payer: provider.wallet.publicKey,
8082
instructionsSysvar: SYSVAR_INSTRUCTIONS_PUBKEY,

0 commit comments

Comments
 (0)