Skip to content

Commit

Permalink
add txnHash into receipt fill metadata (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawliet-Chan authored Nov 1, 2024
1 parent e8e7aa1 commit 778e430
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/types/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func (r *Receipt) String() string {
func (r *Receipt) FillMetadata(block *Block, stxn *SignedTxn, leiCost uint64) {
wrCall := stxn.Raw.WrCall

r.TxHash = stxn.TxnHash
r.Caller = stxn.GetCaller()
r.TripodName = wrCall.TripodName
r.WritingName = wrCall.FuncName
Expand Down

0 comments on commit 778e430

Please sign in to comment.