expired bond goes to seller

This commit is contained in:
hueso 2024-03-04 13:37:51 -03:00
parent 9b6617a702
commit 4a4a18121c
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ contract P2PIX is BaseUtils {
if ((_sellerBalance + l.amount) > MAXBALANCE_UPPERBOUND)
revert MaxBalExceeded();
_addSellerBalance(l.seller, l.token, l.amount);
_addSellerBalance(l.seller, l.token, l.bond ? l.amount + l.amount >> BOND_DIVISOR : l.amount);
l.amount = 0;