mirror of https://github.com/BTCPrivate/z-nomp.git
Update stats.js
BugFix: prevent `confirms` from being null
This commit is contained in:
parent
8d5a13697f
commit
133ce797b7
|
@ -344,7 +344,7 @@ module.exports = function(logger, portalConfig, poolConfigs){
|
|||
/* show all pending blocks */
|
||||
pending: {
|
||||
blocks: replies[i + 6].sort(sortBlocks),
|
||||
confirms: replies[i + 9]
|
||||
confirms: (replies[i + 9] || {})
|
||||
},
|
||||
/* show last 5 found blocks */
|
||||
confirmed: {
|
||||
|
|
Loading…
Reference in New Issue