Skip to content

Commit

Permalink
fix: XVS-01
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Dec 12, 2023
1 parent 2ddf4c0 commit 6785b84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion contracts/Bridge/BaseXVSProxyOFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ abstract contract BaseXVSProxyOFT is Pausable, ExponentialNoError, BaseOFTV2 {

require(sharedDecimals_ <= decimals, "ProxyOFT: sharedDecimals must be <= decimals");
ld2sdRate = 10 ** (decimals - sharedDecimals_);


emit InnerTokenAdded(tokenAddress_);
emit OracleChanged(address(0), oracle_);
Expand Down
3 changes: 0 additions & 3 deletions contracts/Bridge/XVSBridgeAdmin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ contract XVSBridgeAdmin is AccessControlledV8 {

/**
* @param accessControlManager_ Address of access control manager contract.
* @custom:error ZeroAddressNotAllowed is thrown when accessControlManager contract address is zero.
*/
function initialize(address accessControlManager_) external initializer {
ensureNonzeroAddress(accessControlManager_);
__AccessControlled_init(accessControlManager_);
}

Expand Down Expand Up @@ -93,7 +91,6 @@ contract XVSBridgeAdmin is AccessControlledV8 {
*/
function transferBridgeOwnership(address newOwner_) external {
_checkAccessAllowed("transferBridgeOwnership(address)");
ensureNonzeroAddress(newOwner_);
XVSBridge.transferOwnership(newOwner_);
}

Expand Down

0 comments on commit 6785b84

Please sign in to comment.