Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang authored and 陈志同 committed Oct 13, 2020
1 parent cd49670 commit 79d3d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ApplicationLogs/LogReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
using Neo.IO.Data.LevelDB;
using Neo.IO.Json;
using Neo.Network.RPC;
using System.IO;

namespace Neo.Plugins
{
public class LogReader : Plugin, IRpcPlugin
{
private readonly DB db = DB.Open(Settings.Default.Path, new Options { CreateIfMissing = true });
private readonly DB db = DB.Open(Path.GetFullPath(Settings.Default.Path), new Options { CreateIfMissing = true });

public override string Name => "ApplicationLogs";

Expand Down

0 comments on commit 79d3d80

Please sign in to comment.