1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
ton/storage/PeerState.cpp

16 lines
352 B
C++

#include "PeerState.h"
namespace ton {
void PeerState::notify_node() {
if (node.empty()) {
return;
}
td::actor::send_signals_later(node, td::actor::ActorSignals::wakeup());
}
void PeerState::notify_peer() {
if (peer.empty()) {
return;
}
td::actor::send_signals_later(peer, td::actor::ActorSignals::wakeup());
}
} // namespace ton