web3.eth.isSyncing(function(error, sync){
console.log(4564564564) if(!error) { if(sync === true) {
web3.reset(true);
} else if(sync) {
console.log(sync.currentBlock);
} else {
}
}
});
console.log(eth.syncing)eth.syncing 一直等于false,我用node運(yùn)行上面的代碼,一直沒返回值,4564564564也打印不出來,請問如何讓eth.syncing=true呢,謝謝大佬們
web3.eth.isSyncin,無返回值,geth客戶端也沒有提示eth_syncing
慕的地8271018
2018-12-19 08:48:50