mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-12 01:43:13 +00:00
fix lint errors
This commit is contained in:
parent
d17039da81
commit
31d5591a97
@ -70,7 +70,9 @@ method sendImpl*(self: RelaySendProcessor, task: DeliveryTask) {.async.} =
|
||||
|
||||
if noOfPublishedPeers > 0:
|
||||
info "Message propagated via Relay",
|
||||
requestId = task.requestId, msgHash = task.msgHash.to0xHex(), noOfPeers = noOfPublishedPeers
|
||||
requestId = task.requestId,
|
||||
msgHash = task.msgHash.to0xHex(),
|
||||
noOfPeers = noOfPublishedPeers
|
||||
task.state = DeliveryState.SuccessfullyPropagated
|
||||
task.deliveryTime = Moment.now()
|
||||
else:
|
||||
|
||||
@ -14,10 +14,7 @@ import
|
||||
eth/common/keys
|
||||
|
||||
import
|
||||
../node/peer_manager,
|
||||
../waku_core,
|
||||
../waku_enr,
|
||||
../node/peer_manager/waku_peer_store
|
||||
../node/peer_manager, ../waku_core, ../waku_enr, ../node/peer_manager/waku_peer_store
|
||||
|
||||
logScope:
|
||||
topics = "waku mix"
|
||||
@ -91,7 +88,9 @@ proc new*(
|
||||
|
||||
var m = WakuMix(peerManager: peermgr, clusterId: clusterId, pubKey: mixPubKey)
|
||||
procCall MixProtocol(m).init(
|
||||
localMixNodeInfo, peermgr.switch, delayStrategy = NoSamplingDelayStrategy.new(crypto.newRng())
|
||||
localMixNodeInfo,
|
||||
peermgr.switch,
|
||||
delayStrategy = NoSamplingDelayStrategy.new(crypto.newRng()),
|
||||
)
|
||||
|
||||
processBootNodes(bootnodes, peermgr, m)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user