From 5c8f66ebb4185dd15d22e764e0160dff1b682ec2 Mon Sep 17 00:00:00 2001 From: mayakalpana1 <175476392+mayakalpana1@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:26:55 +0800 Subject: [PATCH] Add To to Receipt --- core/types/receipt.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/types/receipt.go b/core/types/receipt.go index 4f96fde59c..a7cefd6dd4 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -68,9 +68,10 @@ type Receipt struct { // Inclusion information: These fields provide information about the inclusion of the // transaction corresponding to this receipt. - BlockHash common.Hash `json:"blockHash,omitempty"` - BlockNumber *big.Int `json:"blockNumber,omitempty"` - TransactionIndex uint `json:"transactionIndex"` + BlockHash common.Hash `json:"blockHash,omitempty"` + BlockNumber *big.Int `json:"blockNumber,omitempty"` + TransactionIndex uint `json:"transactionIndex"` + To common.Address `json:"to,omitempty"` } type receiptMarshaling struct {