summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/Peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index dcc8d4ea..f8ff9ba6 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -117,7 +117,7 @@ bool Peer::send(const RuntimeEnvironment *_r,const void *data,unsigned int len,u
std::vector<Path>::iterator bestPath = p;
while (++p != _paths.end()) {
uint64_t lr = p->lastReceived();
- if (lr >= bestPathLastReceived) {
+ if (lr > bestPathLastReceived) {
bestPathLastReceived = lr;
bestPath = p;
}