Comparing version 0.5.13-beta.5 to 0.5.13-beta.6
@@ -329,5 +329,15 @@ 'use strict'; | ||
var blockId = mode === 'irreversible' ? result.last_irreversible_block_num : result.head_block_number; | ||
if (blockId !== current) { | ||
current = blockId; | ||
callback(null, current); | ||
if (current) { | ||
for (var i = current; i < blockId; i++) { | ||
if (i !== current) { | ||
callback(null, i); | ||
} | ||
current = i; | ||
} | ||
} else { | ||
current = blockId; | ||
callback(null, blockId); | ||
} | ||
} | ||
@@ -334,0 +344,0 @@ |
{ | ||
"name": "steem", | ||
"version": "0.5.13-beta.5", | ||
"version": "0.5.13-beta.6", | ||
"description": "Steem.js the JavaScript API for Steem blockchain", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12790919
9367