Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Oct 10, 2023
1 parent 18f0ac7 commit de5d476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/renderers/PartyNFTRenderer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ contract PartyNFTRenderer is RendererBase {

bytes memory baseExternalURLBytes = bytes(baseExternalURL);
if (baseExternalURLBytes.length > 31) {
// Must be less than 31 bytes because 1 byte is used for the length.
// Must be less than or equal to 31 bytes because 1 byte is used for the length.
revert ExternalURLTooLarge();
}
bytes32 baseExternalUrlData = bytes32(baseExternalURLBytes.length) << 248;
Expand Down

0 comments on commit de5d476

Please sign in to comment.