Skip to content

Commit

Permalink
change version to v2.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Oct 18, 2018
1 parent fbb273e commit fcc3c31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neo/Persistence/LevelDB/LevelDBStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class LevelDBStore : Store, IDisposable
public LevelDBStore(string path)
{
this.db = DB.Open(path, new Options { CreateIfMissing = true });
if (db.TryGet(ReadOptions.Default, SliceBuilder.Begin(Prefixes.SYS_Version), out Slice value) && Version.TryParse(value.ToString(), out Version version) && version >= Version.Parse("2.9.0"))
if (db.TryGet(ReadOptions.Default, SliceBuilder.Begin(Prefixes.SYS_Version), out Slice value) && Version.TryParse(value.ToString(), out Version version) && version >= Version.Parse("2.9.1"))
return;
WriteBatch batch = new WriteBatch();
ReadOptions options = new ReadOptions { FillCache = false };
Expand Down
2 changes: 1 addition & 1 deletion neo/neo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Copyright>2015-2018 The Neo Project</Copyright>
<AssemblyTitle>Neo</AssemblyTitle>
<Version>2.9.0</Version>
<Version>2.9.1</Version>
<Authors>The Neo Project</Authors>
<TargetFrameworks>netstandard2.0;net47</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down

0 comments on commit fcc3c31

Please sign in to comment.