Skip to content

Commit

Permalink
Merge pull request #632 from oasisprotocol/CedarMist-patch-1
Browse files Browse the repository at this point in the history
Fixed minor error in EIP-712 authentication page
  • Loading branch information
CedarMist authored Nov 24, 2023
2 parents cdef72b + 77400d0 commit 3d7b9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dapp/sapphire/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct SignatureRSV {
contract SignInExample {
bytes32 public constant EIP712_DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
string public constant SIGNIN_TYPE = "SignIn(address user, uint32 time)";
string public constant SIGNIN_TYPE = "SignIn(address user,uint32 time)";
bytes32 public constant SIGNIN_TYPEHASH = keccak256(bytes(SIGNIN_TYPE));
bytes32 public immutable DOMAIN_SEPARATOR;
Expand Down Expand Up @@ -206,4 +206,4 @@ const auth = {user, time, rsv};
// Then in the future, authenticated view calls can be performed by
// passing auth without further user interaction authenticated data.
await contract.authenticatedViewCall(auth, ...args);
```
```

0 comments on commit 3d7b9a2

Please sign in to comment.