From 620b0bbf92673e073fa45b219a8936c8057d94db Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Thu, 26 Oct 2023 12:18:21 +0200 Subject: [PATCH] Update p2p/dht.go --- p2p/dht.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/dht.go b/p2p/dht.go index a5a884a9..ed979cc9 100644 --- a/p2p/dht.go +++ b/p2p/dht.go @@ -178,7 +178,7 @@ func (q BlobstreamDHT) PutLatestValset(ctx context.Context, v types2.Valset) err return nil } -// GetLatestValset looks for a valset referenced by its key in the DHT. +// GetLatestValset looks for the latest valset in the DHT. // The key will be returned by the `GetValsetKey` method. // Returns an error if it fails to get the valset. func (q BlobstreamDHT) GetLatestValset(ctx context.Context) (types2.Valset, error) {