ethereum-web3-plus
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -128,3 +128,3 @@ | ||
self.start(); | ||
} else { | ||
} else try { | ||
var block = self.web3.eth.getBlock(blockHash, false); | ||
@@ -202,3 +202,7 @@ //console.log("new block ", block.number); | ||
} | ||
//self.saveState(); | ||
} catch(catched) { | ||
console.log("An error occured during processing blockhash ", blockHash); | ||
console.log(catched); | ||
// now wait for the next block | ||
} // end if no error | ||
@@ -205,0 +209,0 @@ }); |
{ | ||
"name": "ethereum-web3-plus", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Adds some simplifications to the web3 package such as compilation, instance creation, call sequencing, events readers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -250,2 +250,6 @@ # Documentation page for ethereum-web3-plus | ||
## Change log | ||
### v 0.4.2 | ||
- Adding a try catch in the block watcher for when the geth api do not return properly | ||
### v 0.4.1 | ||
@@ -286,2 +290,3 @@ Adaptation for TransactionReceipt.status from geth v1.7.3 used in the waitFor function to signal error | ||
### v 0.2.6 and v 0.2.5 | ||
@@ -288,0 +293,0 @@ - Documentation corrections |
46694
581
318