Skip to content

Commit

Permalink
docs: fix state property access
Browse files Browse the repository at this point in the history
  • Loading branch information
charmful0x authored Nov 13, 2023
1 parent 3f68d1a commit e0fd46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/evm-signing/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function handle(state, action) {
"error signed message used"
);

const message = btoa(verification_message);
const message = btoa(state.verification_message);
await _moleculeSignatureVerification(caller, message, signature);
state.names[caller] = name.trim();
signatures.push(signature);
Expand Down

0 comments on commit e0fd46c

Please sign in to comment.