Skip to content

Commit

Permalink
Fix function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
linchizhen authored Dec 17, 2024
1 parent 2e8bb31 commit 562b34d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion p2p/peering.go
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,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"
Expand Down
2 changes: 1 addition & 1 deletion rpc/client/dcrwallet/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ func (c *Client) FundRawTransaction(ctx context.Context, rawhex string, fundAcco

// GetInfoWallet 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) {
func (c *Client) GetInfoWallet(ctx context.Context) (*types.InfoWalletResult, error) {
res := new(types.InfoWalletResult)
err := c.Call(ctx, "getinfo", res)
return res, err
Expand Down

0 comments on commit 562b34d

Please sign in to comment.