1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-02-19 10:28:30 +00:00

20 lines
466 B
Nim
Raw Normal View History

#
# Waku - Whisper Bridge
# (c) Copyright 2018-2021
# Status Research & Development GmbH
#
# Licensed under either of
# Apache License, version 2.0, (LICENSE-APACHEv2)
# MIT license (LICENSE-MIT)
#
{.push raises: [Defect].}
import
eth/p2p,
../../whisper/whisper_protocol,
./waku_protocol
proc shareMessageQueue*(node: EthereumNode) =
node.protocolState(Waku).queue = node.protocolState(Whisper).queue