Browse Source

mutex usage changed

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
b4dd16b8ba
  1. 5
      libwhisper/WhisperPeer.cpp

5
libwhisper/WhisperPeer.cpp

@ -117,11 +117,12 @@ void WhisperPeer::noteNewMessage(h256 _h, Envelope const& _m)
void WhisperPeer::sendTopicsOfInterest(FixedHash<TopicBloomFilterSize> const& _bloom)
{
Guard g(x_advertiseTopicsOfInterest);
DEV_GUARDED(x_advertiseTopicsOfInterest)
m_advertiseTopicsOfInterest = false;
RLPStream s;
prep(s, TopicFilterPacket, 1);
s << _bloom;
sealAndSend(s);
m_advertiseTopicsOfInterest = false;
}

Loading…
Cancel
Save