Couple of fixes for initial indexing - stats.supply and stats.last

This commit is contained in:
joeuhren
2020-11-23 20:22:40 -07:00
parent 399883b04c
commit 8554981f8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ module.exports = {
count : count,
supply: supply,
connections: connections,
last: new_stats.last});
last: (new_stats.last ? new_stats.last : 0)});
});
});
});
+1 -1
View File
@@ -15,7 +15,7 @@ function coinbase_supply(cb) {
if (address) {
return cb(address.sent);
} else {
return cb();
return cb(0);
}
});
}