parent
31651ce76e
commit
9967f780df
@ -279,9 +279,9 @@ HTTPServer.prototype.initRouter = function initRouter() {
|
||||
}
|
||||
|
||||
const height = await this.chain.getHeight(hash);
|
||||
const depth = this.chain.height - height + 1;
|
||||
const confirmations = this.chain.height - height;
|
||||
|
||||
res.send(200, block.getJSON(this.network, view, height, depth));
|
||||
res.send(200, block.getJSON(this.network, view, height, confirmations));
|
||||
});
|
||||
|
||||
// Mempool snapshot
|
||||
|
||||
Loading…
Reference in New Issue
Block a user