Replaced assert with require
This commit is contained in:
@ -27,7 +27,7 @@ contract ReentrancyMock is ReentrancyGuard {
|
||||
if(n > 0) {
|
||||
count();
|
||||
bool result = this.call(func, n - 1);
|
||||
assert(result == true);
|
||||
require(result == true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user