Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up code #2156

Merged
merged 2 commits into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/neo/IO/Json/JObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;

namespace Neo.IO.Json
Expand Down
1 change: 0 additions & 1 deletion src/neo/Network/P2P/Payloads/BlockBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Neo.Cryptography;
using Neo.IO;
using Neo.IO.Json;
using Neo.Persistence;
Expand Down
1 change: 0 additions & 1 deletion src/neo/Persistence/MemorySnapshot.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Neo.IO;
using Neo.IO.Caching;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
Expand Down
1 change: 0 additions & 1 deletion src/neo/Persistence/MemoryStore.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Neo.IO;
using Neo.IO.Caching;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Collections.Generic;
using Neo.Network.P2P.Payloads;
using System.Collections.Generic;

namespace Neo.Plugins
{
Expand Down
2 changes: 1 addition & 1 deletion src/neo/Plugins/IPersistencePlugin.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Neo.Persistence;
using System;
using System.Collections.Generic;
using static Neo.Ledger.Blockchain;

Expand Down
1 change: 0 additions & 1 deletion src/neo/SmartContract/DeployedContract.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Neo.Ledger;
using Neo.SmartContract.Manifest;
using System;
using System.Linq;
Expand Down
1 change: 0 additions & 1 deletion src/neo/SmartContract/Manifest/ContractPermission.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Neo.IO.Json;
using Neo.Ledger;
using System;
using System.Linq;

Expand Down
8 changes: 2 additions & 6 deletions tests/neo.UnitTests/Consensus/UT_ConsensusServiceMailbox.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
using Akka.TestKit;
using Akka.TestKit.Xunit2;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Moq;
using Neo.Consensus;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
using Neo.Network.P2P;
using Akka.Configuration;
using Neo.Consensus;
using System;

namespace Neo.UnitTests.Consensus
{
Expand Down
2 changes: 1 addition & 1 deletion tests/neo.UnitTests/IO/Caching/UT_ReflectionCache.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.IO;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.IO;
using Neo.IO.Caching;
using System.IO;

namespace Neo.UnitTests.IO.Caching
{
Expand Down
1 change: 0 additions & 1 deletion tests/neo.UnitTests/IO/Json/UT_JObject.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.IO.Json;
using Neo.SmartContract.Manifest;
using System;

namespace Neo.UnitTests.IO.Json
Expand Down
1 change: 0 additions & 1 deletion tests/neo.UnitTests/Network/P2P/UT_Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.IO;
using Neo.Network.P2P;
using Neo.Network.P2P.Capabilities;
using Neo.Network.P2P.Payloads;
using System;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.SmartContract.Enumerators;
using Neo.SmartContract.Iterators;
using Neo.VM;
using Neo.VM.Types;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.SmartContract.Iterators;
using Neo.VM;
using Neo.VM.Types;
using System;
using System.Collections.Generic;
Expand Down
1 change: 0 additions & 1 deletion tests/neo.UnitTests/SmartContract/UT_DeployedContract.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Ledger;
using Neo.SmartContract;
using System;

Expand Down
1 change: 0 additions & 1 deletion tests/neo.UnitTests/SmartContract/UT_InteropPrices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Ledger;
using Neo.SmartContract;
using Neo.SmartContract.Native;
using Neo.UnitTests.Extensions;
using Neo.VM;

Expand Down
1 change: 0 additions & 1 deletion tests/neo.UnitTests/Wallets/SQLite/UT_UserWalletAccount.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Wallets.SQLite;
using System.Text;

namespace Neo.UnitTests
{
Expand Down