Commit 36c95f4b authored by James Kim's avatar James Kim

use pre-computed encoding bytes32

parent 4f662e90
...@@ -122,7 +122,7 @@ contract OptimistInviter is Semver, EIP712Upgradeable { ...@@ -122,7 +122,7 @@ contract OptimistInviter is Semver, EIP712Upgradeable {
// data field of the attestation. // data field of the attestation.
ATTESTATION_STATION.attest( ATTESTATION_STATION.attest(
_accounts[i], _accounts[i],
bytes32("optimist.can-invite"), CAN_INVITE_ATTESTATION_KEY,
abi.encode(_inviteCount) abi.encode(_inviteCount)
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment