if admin user calls the setProviderDetails(...) function, he has to supply argument admin=0x00. The intention is that admin cannot change admin of the provider. However, as a result of such call, the admin of the provider will be set to 0x00. So the admin user will kind of "lock himself out" if he ever tries to update the provider details.
https://github.com/CORIONplatform/solidity/blob/provider-recode/provider.sol#L954-L956
if admin user calls the
setProviderDetails(...)
function, he has to supply argumentadmin=0x00
. The intention is that admin cannot changeadmin
of the provider. However, as a result of such call, theadmin
of the provider will be set to0x00
. So the admin user will kind of "lock himself out" if he ever tries to update the provider details.