Skip to content

Commit

Permalink
run forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Foivos committed Jul 1, 2024
1 parent 9dd4afa commit bb0f917
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/axelar/AxelarTransceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ contract AxelarTransceiver is IAxelarTransceiver, AxelarGMPExecutable, Transceiv
) internal virtual override {
AxelarTransceiverStorage storage slot = _storage();
uint16 sourceChainId = slot.axelarChainIdToId[sourceChain];
if (sourceChainId == 0 || slot.idToTransceiverAddressHash[sourceChainId] != keccak256(bytes(sourceAddress))) {
if (
sourceChainId == 0
|| slot.idToTransceiverAddressHash[sourceChainId] != keccak256(bytes(sourceAddress))
) {
revert InvalidSibling(sourceChainId, sourceChain, sourceAddress);
}

Expand Down

0 comments on commit bb0f917

Please sign in to comment.