Skip to content

Commit

Permalink
refactor: remove non-necessary bytes1 type casting
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Aug 15, 2023
1 parent 2a6cfbb commit 2d27900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/LSP20CallVerification/LSP20CallVerification.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ abstract contract LSP20CallVerification {
if (bytes3(magicValue) != bytes3(ILSP20.lsp20VerifyCall.selector))
revert LSP20InvalidMagicValue(false, returnedData);

return bytes1(magicValue[3]) == 0x01 ? true : false;
return magicValue[3] == 0x01 ? true : false;
}

/**
Expand Down

0 comments on commit 2d27900

Please sign in to comment.