We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 378d332 + 8041c3b commit 77ea273Copy full SHA for 77ea273
public/content/developers/docs/smart-contracts/security/index.md
@@ -346,7 +346,7 @@ contract MutexPattern {
346
require(balances[msg.sender] >= _amount, "No balance to withdraw.");
347
348
balances[msg.sender] -= _amount;
349
- bool (success, ) = msg.sender.call{value: _amount}("");
+ (bool success, ) = msg.sender.call{value: _amount}("");
350
require(success);
351
352
return true;
0 commit comments