Skip to content

Commit

Permalink
fix(protocol): fix a bug in changeBridgedToken (#16403)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Mar 12, 2024
1 parent 1bea8b4 commit 42c279f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/tokenvault/ERC20Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ contract ERC20Vault is BaseVault {
|| keccak256(bytes(ctoken.name)) != keccak256(bytes(_ctoken.name))
) revert VAULT_CTOKEN_MISMATCH();

delete bridgedToCanonical[_btokenNew];
delete bridgedToCanonical[btokenOld_];
btokenBlacklist[btokenOld_] = true;

// Start the migration
Expand Down

0 comments on commit 42c279f

Please sign in to comment.