Skip to content

Commit

Permalink
quick (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera authored Feb 14, 2024
1 parent 54284f9 commit 65d7dd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/transactor/tracker/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ func (t *Tracker) markIncluded(
) {
t.noncer.RemoveInFlight(tx)
tx.Receipt = receipt

// Set the contract address field on the receipt since geth doesn't do this.
if contractAddr := tx.To(); contractAddr != nil && tx.Receipt != nil {
tx.Receipt.ContractAddress = *contractAddr
}
}

// markStale marks a transaction as stale if it's in the in-flight list
Expand Down

0 comments on commit 65d7dd1

Please sign in to comment.