From 715826e12099db2a9715388292eaeb625a1b9c4a Mon Sep 17 00:00:00 2001 From: "S.Sidarth" <38394431+sidarth16@users.noreply.github.com> Date: Fri, 3 Mar 2023 14:15:10 +0530 Subject: [PATCH] Update reentrancy_eth.py msg.sender --- slither/detectors/reentrancy/reentrancy_eth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/reentrancy/reentrancy_eth.py b/slither/detectors/reentrancy/reentrancy_eth.py index 73622cf54..ccb668837 100644 --- a/slither/detectors/reentrancy/reentrancy_eth.py +++ b/slither/detectors/reentrancy/reentrancy_eth.py @@ -38,7 +38,7 @@ Do not report reentrancies that don't involve Ether (see `reentrancy-no-eth`)""" ```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; }