mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-13 11:12:31 +00:00
Fixed major bug in hasInvalidBlock predicate
This commit is contained in:
parent
a93bae616e
commit
7e1ce38f0a
@ -733,7 +733,7 @@ public class Controller extends Thread {
|
||||
}
|
||||
|
||||
// Add peer's blocks since common block
|
||||
if (peer.getCommonBlockData() == null) {
|
||||
if (peer.getCommonBlockData() != null) {
|
||||
List<BlockSummaryData> peerSummaries = peer.getCommonBlockData().getBlockSummariesAfterCommonBlock();
|
||||
if (peerSummaries != null) {
|
||||
for (BlockSummaryData blockSummaryData : peerSummaries) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user