Skip to content

Commit

Permalink
Merge pull request #565 from blxdyx/fix_logs
Browse files Browse the repository at this point in the history
fix eth_subscribe problem
  • Loading branch information
blxdyx authored Dec 3, 2024
2 parents 33272c1 + 5dca148 commit 19c0e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/shards/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (r *RecentLogs) Notify(n *Events, from, to uint64, isUnwind bool) {

for _, l := range receipt.Logs {
res := &remote.SubscribeLogsReply{
Address: gointerfaces.ConvertAddressToH160(receipt.ContractAddress),
Address: gointerfaces.ConvertAddressToH160(l.Address),
BlockHash: gointerfaces.ConvertHashToH256(receipt.BlockHash),
BlockNumber: blockNum,
Data: l.Data,
Expand Down

0 comments on commit 19c0e33

Please sign in to comment.