mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
net/protocol: Fix version exchange
This commit is contained in:
@@ -154,7 +154,7 @@ impl ProtocolVersion {
|
||||
);
|
||||
|
||||
// MAJOR and MINOR should be the same.
|
||||
if self.settings.app_version.major != verack_msg.app_version.major &&
|
||||
if self.settings.app_version.major != verack_msg.app_version.major ||
|
||||
self.settings.app_version.minor != verack_msg.app_version.minor
|
||||
{
|
||||
error!(
|
||||
|
||||
Reference in New Issue
Block a user