Skip to content

Commit

Permalink
适配外部应用对fullnode节点的需求,fast同步后将回执插入db,保持和以太坊一致,参见:https://www.quicknode…
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaley committed Feb 26, 2024
1 parent 997351a commit 8eaf0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func newFetchResult(header *types.Header, fastSync bool) *fetchResult {
// item.pending |= (1 << bodyType)
//}
if fastSync && !header.EmptyReceipts() {
//item.pending |= (1 << receiptType) // The receipt is not synchronized in PlatON SnapSync mode, so comment here
item.pending |= (1 << receiptType) // The receipt is not synchronized in PlatON SnapSync mode, so comment here
}
return item
}
Expand Down

0 comments on commit 8eaf0ca

Please sign in to comment.