mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
Return correct version string from RPC
This commit is contained in:
parent
a34eaec70a
commit
9af993eddd
@ -21,10 +21,8 @@ proc setupWakuRPC*(rpcsrv: RpcServer) =
|
||||
|
||||
# Seems easy enough, lets try to get this first
|
||||
rpcsrv.rpc("waku_version") do() -> string:
|
||||
## Returns string of the current whisper protocol version.
|
||||
# TODO: Should read from waku2_protocol I think
|
||||
#result = wakuVersionStr
|
||||
result = "2.0.0-alpha0x"
|
||||
## Returns string of the current Waku protocol version.
|
||||
result = WakuSubCodec
|
||||
|
||||
# TODO: Dial/Connect
|
||||
# XXX: Though wrong layer for that - wait how does this work in devp2p sim?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user