Skip to content

Commit b54a51a

Browse files
committed
fix: correct refund address for liquidity provider in fund transfer logic
1 parent 4fd5d8e commit b54a51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/PegInContract.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ contract PegInContract is
441441
);
442442
if (!success) {
443443
// transfer funds to LP instead, if for some reason transfer to rskRefundAddress was unsuccessful
444-
_increaseBalance(quote.liquidityProviderRskAddress, refundAmount);
444+
_increaseBalance(quote.rskRefundAddress, refundAmount);
445445
}
446446
}
447447
}

0 commit comments

Comments
 (0)