Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y committed Jun 29, 2024
1 parent 0e78d53 commit 56c783a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Neo/Neo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<InternalsVisibleTo Include="Neo.SmartContract.Testing" />
<InternalsVisibleTo Include="Neo.SmartContract.TestEngine" />
<InternalsVisibleTo Include="Neo.Plugins.RpcServer.Tests" />
<InternalsVisibleTo Include="Neo.Plugins.DBFTPlugin.Tests" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Plugins/DBFTPlugin/DBFTPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions src/Plugins/DBFTPlugin/DBFTPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@
</None>
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Neo.Plugins.DBFTPlugin.Tests" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/Neo.Plugins.DBFTPlugin.Tests/TestP2PSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
3 changes: 1 addition & 2 deletions tests/Neo.Plugins.DBFTPlugin.Tests/TestWalletProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 56c783a

Please sign in to comment.