Skip to content
Snippets Groups Projects
Commit 925238c3 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: wrong git rebase

parent f44b2af7
Branches
Tags
No related merge requests found
...@@ -567,15 +567,6 @@ function PeeringService(server) { ...@@ -567,15 +567,6 @@ function PeeringService(server) {
}), }),
// Simulates the downloading of blocks from a peer // Simulates the downloading of blocks from a peer
downloadBlocks: (thePeer, fromNumber, count) => co(function*() {
if (!count) {
count = CONST_BLOCKS_CHUNK;
}
pullingEvent('downloading', count);
const blocks = yield Q.nfcall(thePeer.blockchain.blocks, count, fromNumber);
lastDownloaded = blocks[blocks.length - 1];
return blocks;
})
downloadBlocks: (thePeer, fromNumber, count) => co(function*() { downloadBlocks: (thePeer, fromNumber, count) => co(function*() {
if (!count) { if (!count) {
count = CONST_BLOCKS_CHUNK; count = CONST_BLOCKS_CHUNK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment