Skip to content

Commit

Permalink
Pashov M-01 fix hook address (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis authored Oct 17, 2024
1 parent dd76ef0 commit fd0488f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/SVG.sol
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ library SVG {
string memory tickLowerStr = tickToString(tickLower);
string memory tickUpperStr = tickToString(tickUpper);
uint256 str1length = bytes(tokenId).length + 4;
string memory hookSlice = string(abi.encodePacked(substring(hookStr, 0, 5), "...", substring(hookStr, 37, 40)));
string memory hookSlice = string(abi.encodePacked(substring(hookStr, 0, 5), "...", substring(hookStr, 39, 42)));
uint256 str2length = bytes(hookSlice).length + 5;
uint256 str3length = bytes(tickLowerStr).length + 10;
uint256 str4length = bytes(tickUpperStr).length + 10;
Expand Down

0 comments on commit fd0488f

Please sign in to comment.