Accidentally called the wrong contract method

Accidentally called the wrong contract method changeProxyAdmin,The call is an upgradeable contract ProxyAdmin,I set parameter newAdmin to my own wallet address, can I change it back?

 /**
   * @dev Changes the admin of a proxy.
   * @param proxy Proxy to change admin.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeProxyAdmin(AdminUpgradeabilityProxy proxy, address newAdmin) public onlyOwner {
    proxy.changeAdmin(newAdmin);
  }

just recall it with the correct parameter

1 Like

Recall will fail.The proxyAdmin changed.

But the modifier is onlyOwner no?

owner is my address,not changed.

So why you can't call that function?

yon can have a try

 error (status 0). 
     Please check that the transaction:
     - satisfies all conditions set by Solidity `require` statements.
     - does not trigger a Solidity `revert` statement.