This repository was archived by the owner on Dec 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export class Chain extends EventEmitter {
110110 db : options . db ,
111111 common : this . config . common ,
112112 validateBlocks : false ,
113- validatePow : false ,
113+ validateConsensus : false ,
114114 } )
115115
116116 this . db = this . blockchain . db
@@ -324,6 +324,6 @@ export class Chain extends EventEmitter {
324324 */
325325 async getTd ( hash : Buffer , num : BN ) : Promise < BN > {
326326 await this . open ( )
327- return this . blockchain . _getTd ( hash , num )
327+ return ( this . blockchain as any ) . _getTd ( hash , num )
328328 }
329329}
Original file line number Diff line number Diff line change 5656 },
5757 "homepage" : " https://github.com/ethereumjs/ethereumjs-client#readme" ,
5858 "dependencies" : {
59- "@ethereumjs/block" : " ^3.0.0-beta.1 " ,
60- "@ethereumjs/blockchain" : " ^5.0.0-beta.1 " ,
61- "@ethereumjs/common" : " ^2.0.0-beta.1 " ,
59+ "@ethereumjs/block" : " ^3.0.0-beta.2 " ,
60+ "@ethereumjs/blockchain" : " ^5.0.0-beta.2 " ,
61+ "@ethereumjs/common" : " ^2.0.0-beta.2 " ,
6262 "chalk" : " ^2.4.1" ,
6363 "ethereumjs-devp2p" : " ^3.0.3" ,
6464 "ethereumjs-util" : " ^7.0.7" ,
You can’t perform that action at this time.
0 commit comments