Function: updateEndpoint(address _endpoint)
This allows the owner to update the LZ endpoint address.
Inputs
_endpointControl: Fully controlled by the owner.
Constraints: None.
Impact: The LZ endpoint address is updated.
Branches and code coverage
Intended branches
Set the
lzEndpointaddress to_endpoint.
Negative behavior
Nobody other than the owner should be able to call this function.