Skip to content

Commit

Permalink
Merge pull request #2817 from beforetech/master
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
MatusKysel authored Aug 5, 2024
2 parents 3517f00 + f7f7251 commit 99af7b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/quickstart_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ TODO: add explanation of all config parameters
There are 2 taraxa docker images:

### taraxa-builder:latest
Contains all dependecies required for building taraxa-node project, you can create local taraxa-builder image
Contains all dependencies required for building taraxa-node project, you can create local taraxa-builder image
by running this command in root directory:

DOCKER_BUILDKIT=1 docker build --progress=plain --target builder -t taraxa-builder:latest .
Expand Down
2 changes: 1 addition & 1 deletion libraries/aleth/libp2p/NodeTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ std::shared_ptr<NodeEntry> NodeTable::handlePingNode(bi::udp::endpoint const& _f
std::shared_ptr<NodeEntry> sourceNodeEntry = nodeEntry(_packet.sourceid);
if (sourceNodeEntry) {
sourceNodeEntry->lastPongSentTime = RLPXDatagramFace::secondsSinceEpoch();
// We should update entrypoint the the one that node is reporting
// We should update entrypoint the one that node is reporting
sourceNodeEntry->node.external_udp_port = in.source.udpPort();
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/aleth/libp2p/UDP.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void UDPSocket<Handler, MaxDatagramSize>::doWrite() {

template <typename Handler, unsigned MaxDatagramSize>
void UDPSocket<Handler, MaxDatagramSize>::disconnectWithError(boost::system::error_code _ec) {
// If !started and already stopped, shutdown has already occured. (EOF or
// If !started and already stopped, shutdown has already occurred. (EOF or
// Operation canceled)
if (!m_started && m_closed && !m_socket.is_open() /* todo: veirfy this logic*/) return;

Expand Down

0 comments on commit 99af7b5

Please sign in to comment.