diff --git a/docs/dapp/sapphire/authentication.md b/docs/dapp/sapphire/authentication.md index 218a612549..341f1b2b50 100644 --- a/docs/dapp/sapphire/authentication.md +++ b/docs/dapp/sapphire/authentication.md @@ -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; @@ -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); -``` \ No newline at end of file +```