mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-03-23 13:00:08 +08:00
go fmt.
This commit is contained in:
parent
06d419242c
commit
81615c1df7
@ -25,8 +25,8 @@ func NewPeerstoreWith(kb KeyBook, ab AddrBook, md PeerMetadata) Peerstore {
|
|||||||
return &peerstore{
|
return &peerstore{
|
||||||
KeyBook: kb,
|
KeyBook: kb,
|
||||||
PeerMetadata: md,
|
PeerMetadata: md,
|
||||||
AddrBook: ab,
|
AddrBook: ab,
|
||||||
Metrics: NewMetrics(),
|
Metrics: NewMetrics(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user