diff --git a/yarn-project/falafel/src/tx_receiver/tx_receiver.ts b/yarn-project/falafel/src/tx_receiver/tx_receiver.ts index e0e8b1349..83826abaa 100644 --- a/yarn-project/falafel/src/tx_receiver/tx_receiver.ts +++ b/yarn-project/falafel/src/tx_receiver/tx_receiver.ts @@ -99,11 +99,13 @@ export class TxReceiver { } if (txType === TxType.DEFI_DEPOSIT) { const { bridgeCallData } = new DefiDepositProofData(proof); - const { outputAssetIdA, outputAssetIdB } = bridgeCallData; + const { inputAssetIdA, outputAssetIdA, outputAssetIdB } = bridgeCallData; if (allowedBridgeCallData.includes(bridgeCallData.toString())) { shouldReject = false; } else if (outputAssetIdB === undefined && [0, 1].includes(outputAssetIdA)) { shouldReject = false; + } else if ([5, 6, 7].includes(inputAssetIdA)) { + shouldReject = false; } else { this.log( `Rejecting defi tx for bridge ${bridgeCallData.toString()}, output assets A/B: ${outputAssetIdA}/${outputAssetIdB}`,