We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e54502 + daa49a2 commit 8e14e52Copy full SHA for 8e14e52
contracts/PegInContract.sol
@@ -274,6 +274,7 @@ contract PegInContract is
274
275
/// @inheritdoc IPegIn
276
function getBalance(address addr) external view override returns (uint256) {
277
+ if (_reentrancyGuardEntered()) revert ReentrancyGuardReentrantCall();
278
return _balances[addr];
279
}
280
@@ -284,6 +285,7 @@ contract PegInContract is
284
285
286
287
function getQuoteStatus(bytes32 quoteHash) external view override returns (PegInStates) {
288
289
return _processedQuotes[quoteHash];
290
291
0 commit comments