aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-12 22:27:17 +0800
committerobscuren <geffobscura@gmail.com>2015-05-13 01:01:01 +0800
commit8fe01b4bfa28ad5a1fdde7f9837e8f982843389a (patch)
tree71f866652de6b45da5ad4403b88f5def9a684e36 /eth/handler.go
parent36ce54e5dc147c36e5cd18508229d62e605862c1 (diff)
downloadgo-tangerine-8fe01b4bfa28ad5a1fdde7f9837e8f982843389a.tar.gz
go-tangerine-8fe01b4bfa28ad5a1fdde7f9837e8f982843389a.tar.zst
go-tangerine-8fe01b4bfa28ad5a1fdde7f9837e8f982843389a.zip
eth: 100% tx propagation
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 41b6728d9..88394543e 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -381,7 +381,7 @@ func (pm *ProtocolManager) BroadcastTx(hash common.Hash, tx *types.Transaction)
}
}
// Broadcast block to peer set
- peers = peers[:int(math.Sqrt(float64(len(peers))))]
+ //FIXME include this again: peers = peers[:int(math.Sqrt(float64(len(peers))))]
for _, peer := range peers {
peer.sendTransaction(tx)
}