mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
bugfix(contracts): fix wrong _oldFeeVault (#497)
Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
This commit is contained in:
@@ -92,7 +92,7 @@ abstract contract ScrollMessengerBase is OwnableUpgradeable, IScrollMessenger {
|
||||
/// @dev This function can only called by contract owner.
|
||||
/// @param _newFeeVault The address of new fee vault contract.
|
||||
function updateFeeVault(address _newFeeVault) external onlyOwner {
|
||||
address _oldFeeVault = whitelist;
|
||||
address _oldFeeVault = feeVault;
|
||||
|
||||
feeVault = _newFeeVault;
|
||||
emit UpdateFeeVault(_oldFeeVault, _newFeeVault);
|
||||
|
||||
Reference in New Issue
Block a user