{
    "Function": "forceResumeReceive",
    "File": "contracts/mocks/LZEndpointMock.sol",
    "Parent Contracts": [
        "contracts/OFT/interfaces/ILayerZeroEndpoint.sol",
        "contracts/OFT/interfaces/ILayerZeroUserApplicationConfig.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "_clearMsgQue"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\n        // revert if no messages are cached. safeguard malicious UA behaviour\n        require(sp.payloadHash != bytes32(0), \"LayerZeroMock: no stored payload\");\n        require(sp.dstAddress == msg.sender, \"LayerZeroMock: invalid caller\");\n\n        // empty the storedPayload\n        sp.payloadLength = 0;\n        sp.dstAddress = address(0);\n        sp.payloadHash = bytes32(0);\n\n        emit UaForceResumeReceive(_srcChainId, _path);\n\n        // resume the receiving of msgs after we force clear the \"stuck\" msg\n        _clearMsgQue(_srcChainId, _path);\n    }"
}