@@ -106,15 +106,15 @@ func ReadTransaction(db ethdb.Reader, hash common.Hash) (*types.Transaction, com
106
106
}
107
107
body := ReadBody (db , blockHash , * blockNumber )
108
108
if body == nil {
109
- log .Error ("Transaction referenced missing" , "number" , blockNumber , "hash" , blockHash )
109
+ log .Error ("Transaction referenced missing" , "number" , * blockNumber , "hash" , blockHash )
110
110
return nil , common.Hash {}, 0 , 0
111
111
}
112
112
for txIndex , tx := range body .Transactions {
113
113
if tx .Hash () == hash {
114
114
return tx , blockHash , * blockNumber , uint64 (txIndex )
115
115
}
116
116
}
117
- log .Error ("Transaction not found" , "number" , blockNumber , "hash" , blockHash , "txhash" , hash )
117
+ log .Error ("Transaction not found" , "number" , * blockNumber , "hash" , blockHash , "txhash" , hash )
118
118
return nil , common.Hash {}, 0 , 0
119
119
}
120
120
@@ -137,7 +137,7 @@ func ReadReceipt(db ethdb.Reader, hash common.Hash, config *params.ChainConfig)
137
137
return receipt , blockHash , * blockNumber , uint64 (receiptIndex )
138
138
}
139
139
}
140
- log .Error ("Receipt not found" , "number" , blockNumber , "hash" , blockHash , "txhash" , hash )
140
+ log .Error ("Receipt not found" , "number" , * blockNumber , "hash" , blockHash , "txhash" , hash )
141
141
return nil , common.Hash {}, 0 , 0
142
142
}
143
143
0 commit comments