Browse Source

Fix HELLO parse bug.

Adam Ierymenko 8 years ago
parent
commit
435e4c4695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/IncomingPacket.cpp

+ 1 - 1
node/IncomingPacket.cpp

@@ -310,7 +310,7 @@ bool IncomingPacket::_doHELLO(const RuntimeEnvironment *RR,const bool alreadyAut
 		uint64_t planetWorldTimestamp = 0;
 		uint64_t planetWorldTimestamp = 0;
 		if ((ptr + 16) <= size()) {
 		if ((ptr + 16) <= size()) {
 			planetWorldId = at<uint64_t>(ptr); ptr += 8;
 			planetWorldId = at<uint64_t>(ptr); ptr += 8;
-			planetWorldTimestamp = at<uint64_t>(ptr);
+			planetWorldTimestamp = at<uint64_t>(ptr); ptr += 8;
 		}
 		}
 
 
 		std::vector< std::pair<uint64_t,uint64_t> > moonIdsAndTimestamps;
 		std::vector< std::pair<uint64_t,uint64_t> > moonIdsAndTimestamps;