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