From 9aa3d1bb9e3371b00ee42a39dd9ad69d55ddf347 Mon Sep 17 00:00:00 2001
From: Luca Moser <moser.luca@gmail.com>
Date: Wed, 1 Jul 2020 16:30:02 +0200
Subject: [PATCH] Revert "bumps network and database versions (#610)"

This reverts commit 3e626eacb2ee17289c99b8bcbd4a4506986a8db0.
---
 plugins/autopeering/autopeering.go | 2 +-
 plugins/database/versioning.go     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/autopeering/autopeering.go b/plugins/autopeering/autopeering.go
index 49a78a06..4b3707cc 100644
--- a/plugins/autopeering/autopeering.go
+++ b/plugins/autopeering/autopeering.go
@@ -25,7 +25,7 @@ import (
 // autopeering constants
 const (
 	ProtocolVersion = 0 // update on protocol changes
-	NetworkVersion  = 3 // update on network changes
+	NetworkVersion  = 2 // update on network changes
 )
 
 var (
diff --git a/plugins/database/versioning.go b/plugins/database/versioning.go
index 68b367b2..0b62a5bf 100644
--- a/plugins/database/versioning.go
+++ b/plugins/database/versioning.go
@@ -10,7 +10,7 @@ import (
 const (
 	// DBVersion defines the version of the database schema this version of GoShimmer supports.
 	// Every time there's a breaking change regarding the stored data, this version flag should be adjusted.
-	DBVersion = 4
+	DBVersion = 3
 )
 
 var (
-- 
GitLab