Commit 8d74ae26 authored by Steven Allen's avatar Steven Allen

fix(sessionpeermanager): actually use the tag value

parent 2128a5a2
......@@ -130,7 +130,7 @@ func (spm *SessionPeerManager) run(ctx context.Context) {
}
func (spm *SessionPeerManager) tagPeer(p peer.ID, value int) {
spm.tagger.TagPeer(p, spm.tag, 10)
spm.tagger.TagPeer(p, spm.tag, value)
}
func (spm *SessionPeerManager) insertOptimizedPeer(p peer.ID) {
......
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