Skip to content

Commit b85e111

Browse files
committed
fix: attach recipient in case of CEA funds and payload
1 parent f8c8a03 commit b85e111

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

universalClient/chains/common/event_processor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ func (ep *EventProcessor) constructInbound(event *store.Event) (*uexecutortypes.
299299
}
300300

301301
// Set recipient for transactions that involve funds
302-
if txType == uexecutortypes.TxType_FUNDS || txType == uexecutortypes.TxType_GAS {
302+
if txType == uexecutortypes.TxType_FUNDS || txType == uexecutortypes.TxType_GAS ||
303+
(txType == uexecutortypes.TxType_FUNDS_AND_PAYLOAD && eventData.FromCEA) {
303304
inboundMsg.Recipient = eventData.Recipient
304305
}
305306

0 commit comments

Comments
 (0)