Skip to content

Commit 6f91161

Browse files
committed
consistency
1 parent 5fa55f3 commit 6f91161

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contracts/mocks/ReentrancyTransientMock.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ contract ReentrancyTransientMock is ReentrancyGuardTransient {
1616
_count();
1717
}
1818

19-
function viewCallback() external view nonReentrantView {}
19+
function viewCallback() external view nonReentrantView returns (uint256) {
20+
return counter;
21+
}
2022

2123
function countLocalRecursive(uint256 n) public nonReentrant {
2224
if (n > 0) {

0 commit comments

Comments
 (0)