Skip to main content
1 vote

how to revert transaction excuted by low level call

You can use this code to revert function if success be false. (bool success, ) ={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