From ae304bb451f1cba7593311f90e20f392541598e1 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 8 Sep 2023 14:20:58 +0200 Subject: [PATCH] Remove publish todo\ --- namesys/interface.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/namesys/interface.go b/namesys/interface.go index 0034bf922..c5d7da1ad 100644 --- a/namesys/interface.go +++ b/namesys/interface.go @@ -155,9 +155,8 @@ func ProcessResolveOptions(opts []ResolveOption) ResolveOptions { // Publisher is an object capable of publishing particular names. type Publisher interface { - // Publish establishes a name-value mapping. - // TODO make this not PrivKey specific. - Publish(ctx context.Context, name ci.PrivKey, value path.Path, options ...PublishOption) error + // Publish publishes the given value under the name represented by the given private key. + Publish(ctx context.Context, sk ci.PrivKey, value path.Path, options ...PublishOption) error } // PublishOptions specifies options for publishing an IPNS Record.