chainrpc: fix description of several methods

They pointed to a non-existing type ChainNotifierService. The actual name
of the interface is ChainNotifierServer.
This commit is contained in:
Boris Nagaev
2025-04-08 17:41:52 -03:00
parent aaf0a19b06
commit acd296e760

View File

@@ -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 {