diff --git a/packages/smart-contracts/src/contracts/BatchConversionPayments.sol b/packages/smart-contracts/src/contracts/BatchConversionPayments.sol index 5932d1a3ab..fd747be38f 100644 --- a/packages/smart-contracts/src/contracts/BatchConversionPayments.sol +++ b/packages/smart-contracts/src/contracts/BatchConversionPayments.sol @@ -108,7 +108,10 @@ contract BatchConversionPayments is BatchPaymentsPublic { // batch Eth requires batch contract to receive funds from ethFeeProxy with a value = 0 // and also from paymentEthConversionProxy with a value > 0 receive() external payable { - require(address(msg.sender) == address(paymentEthConversionProxy) || msg.value == 0, 'Non-payable'); + require( + address(msg.sender) == address(paymentEthConversionProxy) || msg.value == 0, + 'Non-payable' + ); } /** diff --git a/packages/smart-contracts/test/contracts/BatchConversionPayments.test.ts b/packages/smart-contracts/test/contracts/BatchConversionPayments.test.ts index 1cb1239828..1b98a5d477 100644 --- a/packages/smart-contracts/test/contracts/BatchConversionPayments.test.ts +++ b/packages/smart-contracts/test/contracts/BatchConversionPayments.test.ts @@ -23,7 +23,7 @@ import Utils from '@requestnetwork/utils'; import { HttpNetworkConfig } from 'hardhat/types'; // set to true to log batch payments's gas consumption -const logGas = true; +const logGas = false; describe('contract: BatchErc20ConversionPayments', () => { const networkConfig = network.config as HttpNetworkConfig;