Skip to content

Commit

Permalink
Remove redundant if.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed May 26, 2020
1 parent 91308eb commit cee7feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Ledger/Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private void OnInventory(IInventory inventory, bool relay = true)
};
if (relay && rr.Result == VerifyResult.Succeed)
system.LocalNode.Tell(new LocalNode.RelayDirectly { Inventory = inventory });
if (!Sender.IsNobody()) Sender.Tell(rr);
Sender.Tell(rr);
Context.System.EventStream.Publish(rr);
}

Expand Down

0 comments on commit cee7feb

Please sign in to comment.