forked from Qortal/qortal
Made synchronizer method public as it is now also used by the block minter.
This commit is contained in:
parent
ba41d84af9
commit
cbf03d58c8
@ -1516,7 +1516,7 @@ public class Synchronizer extends Thread {
|
|||||||
return new Block(repository, blockMessage.getBlockData(), blockMessage.getTransactions(), blockMessage.getAtStates());
|
return new Block(repository, blockMessage.getBlockData(), blockMessage.getTransactions(), blockMessage.getAtStates());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void populateBlockSummariesMinterLevels(Repository repository, List<BlockSummaryData> blockSummaries) throws DataException {
|
public void populateBlockSummariesMinterLevels(Repository repository, List<BlockSummaryData> blockSummaries) throws DataException {
|
||||||
final int firstBlockHeight = blockSummaries.get(0).getHeight();
|
final int firstBlockHeight = blockSummaries.get(0).getHeight();
|
||||||
|
|
||||||
for (int i = 0; i < blockSummaries.size(); ++i) {
|
for (int i = 0; i < blockSummaries.size(); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user