Commit 5163768e authored by Esad Akar's avatar Esad Akar Committed by GitHub

perf: tiny perf optimization (#2166)

parent e28f618b
...@@ -27,7 +27,7 @@ const ( ...@@ -27,7 +27,7 @@ const (
) )
func peerOverlayKey(peer swarm.Address, txHash common.Hash) string { func peerOverlayKey(peer swarm.Address, txHash common.Hash) string {
return fmt.Sprintf("%s%s_%s", overlayPrefix, peer.String(), txHash.String()) return fmt.Sprintf("%s%s_%s", overlayPrefix, peer.ByteString(), txHash.String())
} }
var ( var (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment