Skip to content

Commit 8e14e52

Browse files
committed
Merge branch 'feature/GBI-2807' into feature/GBI-2846
2 parents 9e54502 + daa49a2 commit 8e14e52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contracts/PegInContract.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ contract PegInContract is
274274

275275
/// @inheritdoc IPegIn
276276
function getBalance(address addr) external view override returns (uint256) {
277+
if (_reentrancyGuardEntered()) revert ReentrancyGuardReentrantCall();
277278
return _balances[addr];
278279
}
279280

@@ -284,6 +285,7 @@ contract PegInContract is
284285

285286
/// @inheritdoc IPegIn
286287
function getQuoteStatus(bytes32 quoteHash) external view override returns (PegInStates) {
288+
if (_reentrancyGuardEntered()) revert ReentrancyGuardReentrantCall();
287289
return _processedQuotes[quoteHash];
288290
}
289291

0 commit comments

Comments
 (0)