Skip to main content
1 vote
Accepted

how to revert transaction excuted by low level call

You can use this code to revert function if success be false. (bool success, ) = _contractOne.call{value: 10, gas: 100000}(payload); if (!success) { // Revert the transaction if the low-level ...
Mehran Ra's user avatar
  • 590

Only top scored, non community-wiki answers of a minimum length are eligible