Skip to content

Commit

Permalink
Merge pull request ethereum#2528 from karalabe/fix-web3-eth_syncing
Browse files Browse the repository at this point in the history
jsre: hotfix web3 for the console eth.syncing formatting
  • Loading branch information
karalabe committed May 9, 2016
2 parents b6135a7 + 1d42061 commit dc7f202
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jsre/ethereum_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -3911,7 +3911,12 @@ var outputSyncingFormatter = function(result) {
result.startingBlock = utils.toDecimal(result.startingBlock);
result.currentBlock = utils.toDecimal(result.currentBlock);
result.highestBlock = utils.toDecimal(result.highestBlock);
if (result.knownStates !== undefined) {
result.knownStates = utils.toDecimal(result.knownStates);
}
if (result.pulledStates !== undefined) {
result.pulledStates = utils.toDecimal(result.pulledStates);
}
return result;
};
Expand Down

0 comments on commit dc7f202

Please sign in to comment.