diff --git a/p2p/peering.go b/p2p/peering.go index 9cf808001..f9d3ceacf 100644 --- a/p2p/peering.go +++ b/p2p/peering.go @@ -2021,7 +2021,7 @@ func (rp *RemotePeer) PublishTransactions(ctx context.Context, txs ...*wire.MsgT return nil } -// PublishTransactions pushes an inventory message advertising transaction +// PublishMixMessages pushes an inventory message advertising transaction // hashes of txs. func (rp *RemotePeer) PublishMixMessages(ctx context.Context, msgs ...mixing.Message) error { const opf = "remotepeer(%v).PublishMixMessages" diff --git a/rpc/client/dcrwallet/methods.go b/rpc/client/dcrwallet/methods.go index 37bc5fff7..0fbd6c571 100644 --- a/rpc/client/dcrwallet/methods.go +++ b/rpc/client/dcrwallet/methods.go @@ -701,7 +701,7 @@ func (c *Client) FundRawTransaction(ctx context.Context, rawhex string, fundAcco return res, err } -// GetInfoWallet calls the getinfo method. It is named differently to avoid a +// GetInfo calls the getinfo method. It is named differently to avoid a // naming clash for dcrd clients with a GetInfo method. func (c *Client) GetInfo(ctx context.Context) (*types.InfoWalletResult, error) { res := new(types.InfoWalletResult)