Skip to content

Commit

Permalink
Fix comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstallard authored Apr 16, 2021
1 parent 10623ea commit 8b24515
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BrightIDFaucetVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract BrightID is Ownable {

//-------------------Storage-----------------------------
IERC20 public verifierToken; // address of verification Token
bytes32 public app; //Regiested BrightID app name
bytes32 public app; //Registered BrightID app name
uint32 constant public REGISTRATION_PERIOD = 86400;

struct Verification {
Expand All @@ -34,7 +34,7 @@ contract BrightID is Ownable {



//-------------------Contructor-------------------------
//-------------------Constructor-------------------------
/**
* @param _verifierToken verifier token
* @param _app BrightID app used for verifying users
Expand All @@ -46,7 +46,7 @@ contract BrightID is Ownable {
}


// emits a sponsor event for brightID nodes // TODO Qeustion, is this correct?
// emits a sponsor event for brightID nodes
function sponsor(address addr) public {
emit Sponsor(addr);
}
Expand Down Expand Up @@ -84,7 +84,7 @@ contract BrightID is Ownable {
bytes32 r,
bytes32 s
) public {
require(verifications[addrs[0]].time < timestamp, "newer verification registered before");
require(verifications[addrs[0]].time < timestamp, "Newer verification registered before.");
require (timestamp > block.timestamp - REGISTRATION_PERIOD, "Verification too old. Try linking again.");

bytes32 message = keccak256(abi.encodePacked(app, addrs, timestamp));
Expand Down

0 comments on commit 8b24515

Please sign in to comment.