mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Fix undefined public_key
This commit is contained in:
parent
4e7b0b8650
commit
64c07cf2d2
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class NodesApi {
|
|||
let query: string;
|
||||
if (full === false) {
|
||||
query = `
|
||||
SELECT nodes.public_key, IF(nodes.alias = '', SUBSTRING(nodes.public_key, 1, 20), alias) as alias,
|
||||
SELECT nodes.public_key as publicKey, IF(nodes.alias = '', SUBSTRING(nodes.public_key, 1, 20), alias) as alias,
|
||||
node_stats.channels
|
||||
FROM node_stats
|
||||
JOIN nodes ON nodes.public_key = node_stats.public_key
|
||||
|
|
Loading…
Add table
Reference in a new issue