mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 16:03:45 +00:00
Added mistmatched transaction hash when log are not aligned
This commit is contained in:
parent
a7f50134bd
commit
3181acac69
1 changed files with 3 additions and 1 deletions
|
|
@ -317,7 +317,9 @@ func (f *Firehose) assignOrdinalAndIndexToReceiptLogs() {
|
||||||
|
|
||||||
if len(callLogs) != len(receiptsLogs) {
|
if len(callLogs) != len(receiptsLogs) {
|
||||||
panic(fmt.Errorf(
|
panic(fmt.Errorf(
|
||||||
"mismatch between Firehose call logs and Ethereum transaction receipt logs, transaction receipt has %d logs but there is %d Firehose call logs",
|
"mismatch between Firehose call logs and Ethereum transaction %s receipt logs at block #%d, transaction receipt has %d logs but there is %d Firehose call logs",
|
||||||
|
hex.EncodeToString(trx.Hash),
|
||||||
|
f.block.Number,
|
||||||
len(receiptsLogs),
|
len(receiptsLogs),
|
||||||
len(callLogs),
|
len(callLogs),
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue