fix json for blocks
This commit is contained in:
parent
87c10a122b
commit
d5020b9b55
|
@ -71,7 +71,6 @@ function spec() {
|
|||
return coinUtil.formatHashFull(tx.hash);
|
||||
});
|
||||
|
||||
// Reorgs enabled.
|
||||
this.sync.storeTipBlock({
|
||||
'hash': blockHash,
|
||||
'tx': tx_hashes,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue