fix json for blocks

This commit is contained in:
Matias Alejo Garcia 2014-02-09 19:46:40 -03:00
parent 87c10a122b
commit d5020b9b55
2 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,6 @@ function spec() {
return coinUtil.formatHashFull(tx.hash);
});
// Reorgs enabled.
this.sync.storeTipBlock({
'hash': blockHash,
'tx': tx_hashes,

View File

@ -137,7 +137,7 @@ function spec() {
});
}],
function(err) {
if (!err) self._handleBroadcast(b, updatedTxs, updatedAddrs);
if (!err) self._handleBroadcast(b.hash, updatedTxs, updatedAddrs);
if (err && err.toString().match(/WARN/) ) {
console.log(err);
err=null;