Skip to content

Commit

Permalink
remove check addr for hashflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocthanh1389 committed Aug 8, 2024
1 parent 2cd8915 commit 94a57f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/parser/hashflow_v3/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ func (p *Parser) getRFQOrderParams(callFrame *tradingTypes.CallFrame) (*OrderRFQ
}

func (p *Parser) LogFromExchange(log ethereumTypes.Log) bool {
return strings.EqualFold(log.Address.String(), parser.AddrHashflowV3) &&
len(log.Topics) > 0 &&
return len(log.Topics) > 0 &&
strings.EqualFold(log.Topics[0].String(), p.eventHash)
}

0 comments on commit 94a57f2

Please sign in to comment.