OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update fedProg (#330)
[bytom/vapor.git]
/
p2p
/
peer.go
diff --git
a/p2p/peer.go
b/p2p/peer.go
index
e239e37
..
d464b67
100644
(file)
--- a/
p2p/peer.go
+++ b/
p2p/peer.go
@@
-44,7
+44,7
@@
func DefaultPeerConfig(config *cfg.P2PConfig) *PeerConfig {
ProxyAddress: config.ProxyAddress,
ProxyUsername: config.ProxyUsername,
ProxyPassword: config.ProxyPassword,
- MConfig: connection.DefaultMConnConfig(),
+ MConfig: connection.DefaultMConnConfig(
config.Compression
),
}
}