Skip to content

Commit

Permalink
edit: move Sleep outside, not just for peels
Browse files Browse the repository at this point in the history
  • Loading branch information
anorakthagreat committed Feb 28, 2019
1 parent 351512a commit f8fd090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enigma/enigma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,10 +1033,10 @@ bool Enigma::HandleCloakOnionData(CCloakingData cloakDataIn, CNode* node, int le

if (!alreadyProcessed)
{
Sleep(10);
cloakDataIn.hops++;

if (level > 0){
Sleep(10);
cloakDataIn.Transmit(NULL, true, false); // forward to all as we've unpacked a layer
}else{
cloakDataIn.Transmit(node, true, false); // forward to all but sender, sending as is
Expand Down

0 comments on commit f8fd090

Please sign in to comment.