Skip to content

Commit

Permalink
chore: update comment usage
Browse files Browse the repository at this point in the history
  • Loading branch information
datluongductuan committed Apr 10, 2024
1 parent 03bb7c1 commit 2dd7d48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/types/pendingtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ func (c CallFrame) getLogs() []*types.Log {

// GetRelatedPools returns all pools related to the log
// A pool might appear from log.Address, or log.Topics.
// Currently, support univ2, balancer poolType.
// Others should be dig and update this function if needed.
func GetRelatedPools(log *types.Log) []string {
pools := make([]string, 0, len(log.Topics)+1)
for _, topic := range log.Topics {
Expand Down

0 comments on commit 2dd7d48

Please sign in to comment.