Skip to content

Commit

Permalink
fix: inverted v1 token stopped check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaensen committed Feb 7, 2024
1 parent 803020a commit c72c75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hub/Hub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ contract Hub is Circles {
function registerHuman(bytes32 _cidV0Digest) external duringBootstrap {
// only available for v1 users with stopped v1 mint, for initial bootstrap period
address v1CirclesStatus = _registerHuman(msg.sender);
require(v1CirclesStatus != CIRCLES_STOPPED_V1, "Avatar must have stopped v1 Circles contract.");
require(v1CirclesStatus == CIRCLES_STOPPED_V1, "Avatar must have stopped v1 Circles contract.");

// store the IPFS CIDv0 digest for the avatar metadata
tokenIdToCidV0Digest[_toTokenId(msg.sender)] = _cidV0Digest;
Expand Down

0 comments on commit c72c75e

Please sign in to comment.