Skip to content

Commit 71783df

Browse files
committed
chore: bug comment
1 parent 55b4e34 commit 71783df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/bridge-status-controller/src/strategy/non-evm-strategy.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@ export async function* submitNonEvmHandler(
5858
args: SubmitStrategyParams,
5959
): AsyncGenerator<SubmitStepResult, void, void> {
6060
const { quoteResponse, isBridgeTx } = args;
61+
// There is an existing bug in which the Failed event is not published for any other submission flows
62+
// Until the transaction has been added to the TransactionController state
63+
// TODO remove this once the bug is fixed
6164
yield {
6265
type: 'publishFailedEvent',
6366
payload: true,
6467
};
68+
6569
if (
6670
!(
6771
isTronTrade(quoteResponse.trade) ||

0 commit comments

Comments
 (0)