From 56c783ab3d9fe7f79163c92f0aca475657bbc39f Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sun, 30 Jun 2024 01:02:38 +0800 Subject: [PATCH] fix namespace --- src/Neo/Neo.csproj | 1 + src/Plugins/DBFTPlugin/DBFTPlugin.cs | 2 +- src/Plugins/DBFTPlugin/DBFTPlugin.csproj | 4 ++++ tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs | 2 +- tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs | 3 +-- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Neo/Neo.csproj b/src/Neo/Neo.csproj index 835224eddd..b21dff30e5 100644 --- a/src/Neo/Neo.csproj +++ b/src/Neo/Neo.csproj @@ -30,6 +30,7 @@ + diff --git a/src/Plugins/DBFTPlugin/DBFTPlugin.cs b/src/Plugins/DBFTPlugin/DBFTPlugin.cs index e05f4221a3..e4f06fff91 100644 --- a/src/Plugins/DBFTPlugin/DBFTPlugin.cs +++ b/src/Plugins/DBFTPlugin/DBFTPlugin.cs @@ -39,7 +39,7 @@ public DBFTPlugin() } #if DEBUG - public DBFTPlugin(NeoSystem neoSystem, IWalletProvider wallet) : this() + internal DBFTPlugin(NeoSystem neoSystem, IWalletProvider wallet) : this() { this.neoSystem = neoSystem; walletProvider = wallet; diff --git a/src/Plugins/DBFTPlugin/DBFTPlugin.csproj b/src/Plugins/DBFTPlugin/DBFTPlugin.csproj index 93c77ad1f8..f9089bb8cd 100644 --- a/src/Plugins/DBFTPlugin/DBFTPlugin.csproj +++ b/src/Plugins/DBFTPlugin/DBFTPlugin.csproj @@ -17,4 +17,8 @@ + + + + diff --git a/tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs b/tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs index 231f426d25..3ddfe98cff 100644 --- a/tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs +++ b/tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs @@ -9,7 +9,7 @@ // Redistribution and use in source and binary forms with or without // modifications are permitted. -namespace Neo.Plugins.RpcServer.Tests; +namespace Neo.Plugins.DBFTPlugin.Tests; public class TestP2PSettings { diff --git a/tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs b/tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs index a46ae17751..f025c80d06 100644 --- a/tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs +++ b/tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs @@ -11,10 +11,9 @@ using Neo.UnitTests; using Neo.Wallets; -using Neo.Wallets.NEP6; using System; -namespace Neo.Plugins.RpcServer.Tests; +namespace Neo.Plugins.DBFTPlugin.Tests; public class TestWalletProvider(string wif) : IWalletProvider {