Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
igormcoelho committed Jun 29, 2019
1 parent 55085db commit ac4ba6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion neo/Network/P2P/ProtocolHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public class SetFilter { public BloomFilter Filter; }
private bool verack = false;
private BloomFilter bloom_filter;


public ProtocolHandler(NeoSystem system)
{
this.system = system;
Expand Down
2 changes: 1 addition & 1 deletion neo/Network/P2P/RemoteNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected override void PostStop()

internal static Props Props(NeoSystem system, object connection, IPEndPoint remote, IPEndPoint local)
{
IActorRef protocol = system.ActorSystem.ActorOf(ProtocolHandler.Props(system));
var protocol = system.ActorSystem.ActorOf(ProtocolHandler.Props(system));
return Akka.Actor.Props.Create(() => new RemoteNode(system, connection, remote, local, protocol)).WithMailbox("remote-node-mailbox");
}

Expand Down

0 comments on commit ac4ba6b

Please sign in to comment.