Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
flcl42 committed Oct 14, 2024
1 parent bd22e2b commit 1197d1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/libp2p/Libp2p.Core/Discovery/PeerStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ public PeerInfo GetPeerInfo(PeerId peerId)
{
return store.GetOrAdd(peerId, id => new PeerInfo());
}
}

public class PeerInfo
{
public ByteString SignedPeerRecord { get; set; }
public HashSet<Multiaddress>? Addrs { get; set; }
public class PeerInfo
{
public ByteString? SignedPeerRecord { get; set; }
public HashSet<Multiaddress>? Addrs { get; set; }
}
}

0 comments on commit 1197d1c

Please sign in to comment.