Skip to content

Commit 8db4a31

Browse files
committed
fixbug
1 parent c34e93b commit 8db4a31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

response.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ type Log struct {
144144
// list of topics provided by the contract.
145145
Topics []string `json:"topics"`
146146
// supplied by the contract, usually ABI-encoded
147-
Data []byte `json:"data"`
147+
Data string `json:"data"`
148148

149149
// Derived fields. These fields are filled in by the node
150150
// but not secured by consensus.
@@ -157,8 +157,6 @@ type Log struct {
157157
TxHash string `json:"transactionHash"`
158158
// index of the transaction in the block
159159
TxIndex string `json:"transactionIndex"`
160-
// hash of the block in which the transaction was included
161-
BlockHash string `json:"blockHash"`
162160
// index of the log in the block
163161
Index string `json:"logIndex"`
164162
}

0 commit comments

Comments
 (0)