mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +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
|
# Seems easy enough, lets try to get this first
|
||||||
rpcsrv.rpc("waku_version") do() -> string:
|
rpcsrv.rpc("waku_version") do() -> string:
|
||||||
## Returns string of the current whisper protocol version.
|
## Returns string of the current Waku protocol version.
|
||||||
# TODO: Should read from waku2_protocol I think
|
result = WakuSubCodec
|
||||||
#result = wakuVersionStr
|
|
||||||
result = "2.0.0-alpha0x"
|
|
||||||
|
|
||||||
# TODO: Dial/Connect
|
# TODO: Dial/Connect
|
||||||
# XXX: Though wrong layer for that - wait how does this work in devp2p sim?
|
# XXX: Though wrong layer for that - wait how does this work in devp2p sim?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user