Skip to content

Commit

Permalink
Update reentrancy_eth.py
Browse files Browse the repository at this point in the history
msg.sender
  • Loading branch information
sidarth16 authored Mar 3, 2023
1 parent b74f64a commit 715826e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/detectors/reentrancy/reentrancy_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ReentrancyEth(Reentrancy):
```solidity
function withdrawBalance(){
// send userBalance[msg.sender] Ether to msg.sender
// if mgs.sender is a contract, it will call its fallback function
// if msg.sender is a contract, it will call its fallback function
if( ! (msg.sender.call.value(userBalance[msg.sender])() ) ){
throw;
}
Expand Down

0 comments on commit 715826e

Please sign in to comment.