Skip to content

Commit

Permalink
chore: rename _advertiser to _srcSellerAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestChelik committed Aug 5, 2024
1 parent d4c3a1f commit aa8033b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/protocol/OtcMarketCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ abstract contract OtcMarketCore is IOtcMarketCore, OApp, OAppOptionsType3 {
}

function hashOffer(
bytes32 _advertiser,
bytes32 _srcSellerAddress,
uint32 _srcEid,
uint32 _dstEid,
bytes32 _srcTokenAddress,
bytes32 _dstTokenAddress,
uint64 _exchangeRateSD
) public pure virtual override returns (bytes32 offerId) {
offerId = keccak256(
abi.encodePacked(_advertiser, _srcEid, _dstEid, _srcTokenAddress, _dstTokenAddress, _exchangeRateSD)
abi.encodePacked(_srcSellerAddress, _srcEid, _dstEid, _srcTokenAddress, _dstTokenAddress, _exchangeRateSD)
);
}

Expand Down

0 comments on commit aa8033b

Please sign in to comment.