Skip to content

Commit

Permalink
Update Bridge.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jan 26, 2024
1 parent c075ffb commit c0b14af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ contract Bridge is EssentialContract, IBridge {
_ctx.msgHash == bytes32(PLACEHOLDER);
}

function banAddress(address addr, bool toBan) external onlyOwner nonReentrant whenNotPaused {
function banAddress(address addr, bool toBan) external onlyOwner nonReentrant {
if (addressBanned[addr] == toBan) revert B_INVALID_STATUS();
addressBanned[addr] = toBan;
emit AddressBanned(addr, toBan);
Expand Down

0 comments on commit c0b14af

Please sign in to comment.