Skip to content

Commit

Permalink
Merge pull request #314 from SocketDotTech/audit/soc2-7
Browse files Browse the repository at this point in the history
fix: redundant casting
  • Loading branch information
arthcp authored Sep 7, 2023
2 parents 592dca8 + d0d04ea commit 02f4c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/socket/SocketDst.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ abstract contract SocketDst is SocketBase {

(address transmitter, bool isTransmitter) = transmitManager__
.checkTransmitter(
uint32(_decodeChainSlug(packetId_)),
_decodeChainSlug(packetId_),
keccak256(abi.encode(version, chainSlug, packetId_, root_)),
signature_
);
Expand Down Expand Up @@ -253,7 +253,7 @@ abstract contract SocketDst is SocketBase {
packetRoot_,
packetId_,
proposalCount_,
uint32(remoteChainSlug_),
remoteChainSlug_,
rootProposedAt[packetId_][proposalCount_][
address(plugConfig_.inboundSwitchboard__)
]
Expand Down

0 comments on commit 02f4c30

Please sign in to comment.