You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/utility/UtilityLib.sol
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ library UtilityLib {
29
29
}
30
30
}
31
31
32
-
/// @notice Returns the users balance only if no reentrancy is active on the Compact. This eliminates in flight balances and ensures a valid value.
32
+
/// @notice Returns the users balance only if reentrancy protection is not active on the Compact. This eliminates in flight balances before the ERC6909 tokens were burned.
33
33
/// @dev Only if eip-1153 (transient storage) available.
34
34
function settledBalanceOf(addressowner, uint256id) internalviewreturns (uint256amount) {
35
35
// If transient storage available
@@ -41,7 +41,7 @@ library UtilityLib {
41
41
returnERC6909(THE_COMPACT).balanceOf(owner, id);
42
42
}
43
43
44
-
/// @notice Returns the users balance only if no reentrancy is active on the Compact. This eliminates in flight balances and ensures a valid value.
44
+
/// @notice Returns the users balance only if reentrancy protection is not active on the Compact. This eliminates in flight balances before the ERC6909 tokens were burned.
45
45
/// @dev Only if eip-1153 (transient storage) is not available.
46
46
function settledBalanceOf_nonTransient(addressowner, uint256id) internalviewreturns (uint256amount) {
0 commit comments