Skip to content

Commit

Permalink
reactor: remove cast to bytes1 in _verifyCall
Browse files Browse the repository at this point in the history
  • Loading branch information
skimaharvey committed Oct 2, 2023
1 parent 7ae6051 commit cf5182c
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 @@ -47,7 +47,7 @@ abstract contract LSP20CallVerification {
if (bytes3(magicValue) != bytes3(ILSP20.lsp20VerifyCall.selector))
revert LSP20InvalidMagicValue(false, returnedData);

return bytes1(magicValue[3]) == 0x01;
return magicValue[3] == 0x01;
}

/**
Expand Down

0 comments on commit cf5182c

Please sign in to comment.