We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ecf645 + 9a0d876 commit a0177daCopy full SHA for a0177da
src/PegInContract.sol
@@ -430,7 +430,7 @@ contract PegInContract is
430
) private {
431
uint refundAmount = transferredAmount;
432
433
- if (quote.callOnRegister && refundAmount > quote.value - 1) {
+ if (quote.callOnRegister && refundAmount >= quote.value) { // solhint-disable-line gas-strict-inequalities
434
(bool callSuccess,) = quote.contractAddress.call{
435
gas: quote.gasLimit,
436
value: quote.value
0 commit comments