fix: codereview
This commit is contained in:
parent
886f58491d
commit
4670bd57c4
|
@ -6,4 +6,5 @@ proc fromEvent*(jsonSignal: JsonNode): Signal =
|
|||
if jsonSignal["event"].kind != JNull:
|
||||
for discoveryItem in jsonSignal["event"]:
|
||||
signal.enodes.add(discoveryItem["enode"].getStr)
|
||||
result = signal
|
||||
result = signal
|
||||
|
|
@ -86,4 +86,4 @@ type WhisperFilterSignal* = ref object of Signal
|
|||
filters*: seq[Filter]
|
||||
|
||||
type DiscoverySummarySignal* = ref object of Signal
|
||||
enodes*: seq[string]
|
||||
enodes*: seq[string]
|
||||
|
|
Loading…
Reference in New Issue