Skip to content

Commit

Permalink
smpc: revert higher delay
Browse files Browse the repository at this point in the history
  • Loading branch information
divyakoshy committed Aug 9, 2018
1 parent 15fe297 commit e645af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smpc/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (network *network) SendWithDelay(networkID NetworkID, message Message) {

// Delay this goroutine based on the position of the address
pos := positions[addr] + message.Rotation(uint64(len(positions)))%uint64(len(positions))
time.Sleep(10 * time.Second * time.Duration(pos))
time.Sleep(4 * time.Second * time.Duration(pos))

sender := senders[addr]
if err := sender.Send(message); err != nil {
Expand Down

0 comments on commit e645af6

Please sign in to comment.