diff --git a/packages/celotool/src/e2e-tests/transfer_tests.ts b/packages/celotool/src/e2e-tests/transfer_tests.ts index 99e5079022f..2de49034b2e 100644 --- a/packages/celotool/src/e2e-tests/transfer_tests.ts +++ b/packages/celotool/src/e2e-tests/transfer_tests.ts @@ -466,7 +466,10 @@ describe('Transfer tests', function (this: any) { const txFeeBase = new BigNumber(gasVal).times(minGasPrice) const txFeeTip = txFee.minus(txFeeBase) const gatewayFee = new BigNumber(tx.gatewayFee || 0) - assert.equal(tx.gatewayFeeRecipient === null, gatewayFee.eq(0)) + assert.equal( + tx.gatewayFeeRecipient === null || tx.gatewayFeeRecipient === undefined, + gatewayFee.eq(0) + ) const fees: Fees = { total: txFee.plus(gatewayFee),