mirror of
https://github.com/status-im/status-lib.git
synced 2025-02-28 03:50:34 +00:00
7 lines
237 B
Nim
7 lines
237 B
Nim
proc isWakuEnabled(): bool =
|
|
true # TODO:
|
|
|
|
proc prefix*(methodName: string, isExt:bool = true): string =
|
|
result = if isWakuEnabled(): "waku" else: "shh"
|
|
result = result & (if isExt: "ext_" else: "_")
|
|
result = result & methodName |