Skip to content

Commit

Permalink
Merge pull request #46 from ElrondNetwork/add-log-data-struct
Browse files Browse the repository at this point in the history
Add log data struct
  • Loading branch information
iulianpascalau authored Dec 22, 2021
2 parents eb7d7f4 + 7f3f1ad commit 05af4bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/indexer/dtos.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Pool struct {
Rewards map[string]data.TransactionHandler
Invalid map[string]data.TransactionHandler
Receipts map[string]data.TransactionHandler
Logs map[string]data.LogHandler
Logs []*data.LogData
}

// ValidatorRatingInfo is a structure containing validator rating information
Expand Down
7 changes: 7 additions & 0 deletions data/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package data

// LogData holds the data needed for indexing logs and events
type LogData struct {
LogHandler
TxHash string
}

0 comments on commit 05af4bf

Please sign in to comment.