Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cody-wang-cb committed Jan 29, 2024
1 parent af022f4 commit 3465342
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ contract UpdateFeeVaultRecipient is Script {

///
// CREATE THE NEW FEE VAULTS
// totalProcessed() should be 0 for existing vaults since no withdraw has done yet
///
vm.startBroadcast(proxyAdminOwner);
SequencerFeeVault sfvNew = new SequencerFeeVault(
Expand Down Expand Up @@ -82,6 +81,7 @@ contract UpdateFeeVaultRecipient is Script {
FeeVault _newFV,
string memory typeOfVault
) internal view {
// totalProcessed() should be 0 for existing vaults since no withdraw has done yet
if (_newFV.totalProcessed() != _oldFV.totalProcessed()) {
revert FeeVaultFailedToUpdate({
feeVaultType: typeOfVault,
Expand Down

0 comments on commit 3465342

Please sign in to comment.