jsre: hotfix web3 for the console eth.syncing formatting
This commit is contained in:
parent
b6135a72dd
commit
1d42061e2c
@ -3911,7 +3911,12 @@ var outputSyncingFormatter = function(result) {
|
|||||||
result.startingBlock = utils.toDecimal(result.startingBlock);
|
result.startingBlock = utils.toDecimal(result.startingBlock);
|
||||||
result.currentBlock = utils.toDecimal(result.currentBlock);
|
result.currentBlock = utils.toDecimal(result.currentBlock);
|
||||||
result.highestBlock = utils.toDecimal(result.highestBlock);
|
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;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user