Skip to content

Commit

Permalink
This should quieten a couple of warnings (#620)
Browse files Browse the repository at this point in the history
Update contracts/protocol/facets/ExchangeHandlerFacet.sol

Co-authored-by: Klemen <64400885+zajck@users.noreply.github.com>

This should fix a linting issue

This cleans up the solhint silencing
  • Loading branch information
mischat committed May 29, 2023
1 parent 9fda0b0 commit 89d0adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/protocol/facets/ExchangeHandlerFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { IERC20 } from "../../interfaces/IERC20.sol";
contract ExchangeHandlerFacet is IBosonExchangeHandler, BuyerBase, DisputeBase {
using Address for address;

uint256 private immutable EXCHANGE_ID_2_2_0;
uint256 private immutable EXCHANGE_ID_2_2_0; // solhint-disable-line

/**
* @notice After v2.2.0, token ids are derived from offerId and exchangeId.
Expand All @@ -33,6 +33,7 @@ contract ExchangeHandlerFacet is IBosonExchangeHandler, BuyerBase, DisputeBase {
*
* @param _firstExchangeId2_2_0 - the first exchange id to use for 2.2.0
*/
//solhint-disable-next-line
constructor(uint256 _firstExchangeId2_2_0) {
EXCHANGE_ID_2_2_0 = _firstExchangeId2_2_0;
}
Expand Down

0 comments on commit 89d0adb

Please sign in to comment.