Skip to content

Commit

Permalink
add log for getReceipt (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawliet-Chan authored Dec 16, 2024
1 parent 1aedb4d commit d473cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/txdb/txdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (bb *TxDB) SetReceipt(txHash Hash, receipt *Receipt) error {
func (bb *TxDB) GetReceipt(txHash Hash) (*Receipt, error) {
byt, err := bb.receiptKV.Get(txHash.Bytes())
if err != nil {
logrus.Errorf("TxDB.GetReceipt(%s), failed: %s, error: %v", txHash.String(), string(byt), err)
return nil, err
}
if byt == nil {
Expand Down

0 comments on commit d473cdd

Please sign in to comment.