File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -1309,17 +1309,15 @@ func parseEventsFromTxResponse(resp *sdk.TxResponse) []provider.RelayerEvent {
1309
1309
return events
1310
1310
}
1311
1311
1312
- for _ , logs := range resp .Logs {
1313
- for _ , event := range logs .Events {
1314
- attributes := make (map [string ]string )
1315
- for _ , attribute := range event .Attributes {
1316
- attributes [attribute .Key ] = attribute .Value
1317
- }
1318
- events = append (events , provider.RelayerEvent {
1319
- EventType : event .Type ,
1320
- Attributes : attributes ,
1321
- })
1312
+ for _ , event := range resp .Events {
1313
+ attributes := make (map [string ]string )
1314
+ for _ , attribute := range event .Attributes {
1315
+ attributes [attribute .Key ] = attribute .Value
1322
1316
}
1317
+ events = append (events , provider.RelayerEvent {
1318
+ EventType : event .Type ,
1319
+ Attributes : attributes ,
1320
+ })
1323
1321
}
1324
1322
return events
1325
1323
}
You can’t perform that action at this time.
0 commit comments