Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Update src/main/scala/scorex/core/network/NetworkController.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Slesarenko <aslesarenko@users.noreply.github.com>
  • Loading branch information
kushti and aslesarenko committed Oct 22, 2020
1 parent 8450c8b commit 113e14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/scorex/core/network/NetworkController.scala
Expand Up @@ -108,7 +108,7 @@ class NetworkController(settings: NetworkSettings,

// Update last seen message timestamps, global and peer's, with the message timestamp
val remoteAddress = remote.connectionId.remoteAddress
connections.get(remote.connectionId.remoteAddress) match {
connections.get(remoteAddress) match {
case Some(cp) => cp.peerInfo match {
case Some(pi) =>
val now = networkTime()
Expand Down Expand Up @@ -543,4 +543,4 @@ object NetworkControllerRef {
props(settings, peerManagerRef, scorexContext, IO(Tcp)),
name)
}
}
}

0 comments on commit 113e14b

Please sign in to comment.