From acd296e760d1b0a27fcae9b22c820a5f0ce9a38f Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 8 Apr 2025 17:41:52 -0300 Subject: [PATCH] chainrpc: fix description of several methods They pointed to a non-existing type ChainNotifierService. The actual name of the interface is ChainNotifierServer. --- lnrpc/chainrpc/chain_server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnrpc/chainrpc/chain_server.go b/lnrpc/chainrpc/chain_server.go index 3644d57f5..da68e034b 100644 --- a/lnrpc/chainrpc/chain_server.go +++ b/lnrpc/chainrpc/chain_server.go @@ -360,7 +360,7 @@ func (s *Server) GetBlockHash(_ context.Context, // particular transaction by its hash or for an output script by specifying a // zero hash. // -// NOTE: This is part of the chainrpc.ChainNotifierService interface. +// NOTE: This is part of the chainrpc.ChainNotifierServer interface. func (s *Server) RegisterConfirmationsNtfn(in *ConfRequest, confStream ChainNotifier_RegisterConfirmationsNtfnServer) error { @@ -483,7 +483,7 @@ func (s *Server) RegisterConfirmationsNtfn(in *ConfRequest, // A client can specify whether the spend request should be for a particular // outpoint or for an output script by specifying a zero outpoint. // -// NOTE: This is part of the chainrpc.ChainNotifierService interface. +// NOTE: This is part of the chainrpc.ChainNotifierServer interface. func (s *Server) RegisterSpendNtfn(in *SpendRequest, spendStream ChainNotifier_RegisterSpendNtfnServer) error { @@ -597,7 +597,7 @@ func (s *Server) RegisterSpendNtfn(in *SpendRequest, // point. This allows clients to be idempotent by ensuring that they do not // missing processing a single block within the chain. // -// NOTE: This is part of the chainrpc.ChainNotifierService interface. +// NOTE: This is part of the chainrpc.ChainNotifierServer interface. func (s *Server) RegisterBlockEpochNtfn(in *BlockEpoch, epochStream ChainNotifier_RegisterBlockEpochNtfnServer) error {