Skip to content

Commit

Permalink
chore: fix updating wrong status
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoujia6139 committed May 31, 2023
1 parent 533c103 commit 3a01c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/protocol/libraries/logic/PoolExtendedLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ library PoolExtendedLogic {
totalETH += (request.bidingPrice - request.marketPlaceFee);

// update request status
delete ps._blurExchangeRequestStatus[requestHash];
delete ps._acceptBlurBidsRequestStatus[requestHash];

//burn ntoken
burnUserNToken(
Expand Down Expand Up @@ -593,7 +593,7 @@ library PoolExtendedLogic {
);

// update request status
delete ps._blurExchangeRequestStatus[requestHash];
delete ps._acceptBlurBidsRequestStatus[requestHash];

//transfer underlying nft back to nToken
DataTypes.ReserveData storage nftReserve = ps._reserves[
Expand Down

0 comments on commit 3a01c2b

Please sign in to comment.