Socket selector and copy

This commit is contained in:
softsimon
2022-05-06 00:20:14 +04:00
parent d9d7f8cc66
commit 79aa4461f3
3 changed files with 46 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ class NodeSyncService {
private async $saveNode(node: ILightningApi.Node): Promise<void> {
try {
const updatedAt = this.utcDateToMysql(node.updated_at);
const sockets = node.sockets.join(', ');
const sockets = node.sockets.join(',');
const query = `INSERT INTO nodes(
public_key,
first_seen,