Skip to content

Commit ca480b1

Browse files
committed
Added DHT node sharing via websocket.
1 parent e7467a5 commit ca480b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/network/rpc/RPCManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ open class RPCManager(configuration: Configuration) : Kademlia(configuration) {
6161
.add(webSocket)
6262
}
6363
sendToSubscribed(Topic.Logging, "Hello, this is Nion node!")
64-
sendToSubscribed(Topic.Logging, Json.encodeToString(knownNodes.values.toList()))
64+
sendToSubscribed(Topic.Logging, knownNodes.values.toList())
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)