Skip to content

Commit

Permalink
chore: add comments signalling to slither and solhint
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrosaturnino committed Feb 25, 2025
1 parent dc660c0 commit 193b851
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ contract L1BitcoinDepositorLayerZero is L1BitcoinDepositor {

// Initiate a LayerZero token transfer that will mint L2 TBTC and
// send it to the user.
// solhint-disable-next-line check-send-result
// slither-disable-next-line arbitrary-send-eth
(MessagingReceipt memory msgReceipt, OFTReceipt memory oftReceipt) = l1OFTAdapter
.send{value: msgFee.nativeFee}(
Expand All @@ -150,6 +151,7 @@ contract L1BitcoinDepositorLayerZero is L1BitcoinDepositor {
address(this) // refundable address
);

// slither-disable-next-line reentrancy-events
emit TokensSent(msgReceipt, oftReceipt);
}

Expand Down

0 comments on commit 193b851

Please sign in to comment.