Skip to content

Commit

Permalink
Update eth-demls.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsesfv committed Oct 21, 2024
1 parent 4ea16ab commit b5c4fad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vac/raw/eth-demls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1206,11 +1206,11 @@ CLASS EthereumStyleAuthWithTimeWindow:
```

```text
# Helper function to verify the purpose
FUNCTION verifyPurpose(purpose: STRING) RETURNS (BOOLEAN):
# Implement logic to verify that the purpose is valid and expected
# For example, check that the purpose matches a known action
RETURN purpose == "Authenticate to create session"
# Define the expected purpose
expectedPurpose = "Authenticate to create session"
# Check if the provided purpose matches the expected purpose
RETURN purpose == expectedPurpose
```

### Session management functions
Expand Down

0 comments on commit b5c4fad

Please sign in to comment.