Skip to content

Commit 88b472b

Browse files
fixup! Adjust docs
1 parent 3aad45b commit 88b472b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/security-considerations.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ To avoid reentrancy, you can use the Checks-Effects-Interactions pattern as demo
110110
function withdraw() public {
111111
uint share = shares[msg.sender];
112112
shares[msg.sender] = 0;
113-
// This will report a warning (deprecation)
114113
(bool success, ) = payable(msg.sender).call{value: share}("");
115114
require(success);
116115
}

0 commit comments

Comments
 (0)