diff --git a/solidity/contracts/integrator/TBTCDepositorProxy.sol b/solidity/contracts/integrator/TBTCDepositorProxy.sol index ab866c145..42f48f349 100644 --- a/solidity/contracts/integrator/TBTCDepositorProxy.sol +++ b/solidity/contracts/integrator/TBTCDepositorProxy.sol @@ -234,6 +234,7 @@ abstract contract TBTCDepositorProxy is Initializable { // allow to reveal the same deposit twice. Deleting the deposit from // the mapping will also prevent the finalizeDeposit function from // being called again for the same deposit. + // slither-disable-next-line reentrancy-no-eth delete pendingDeposits[depositKey]; uint256 tbtcAmount = calculateTbtcAmount( @@ -241,6 +242,7 @@ abstract contract TBTCDepositorProxy is Initializable { deposit.treasuryFee ); + // slither-disable-next-line reentrancy-events emit DepositFinalized( depositKey, tbtcAmount,