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) diff --git a/rpc/jsonrpc/types/methods.go b/rpc/jsonrpc/types/methods.go index 9bf15f6ec..98a4905ea 100644 --- a/rpc/jsonrpc/types/methods.go +++ b/rpc/jsonrpc/types/methods.go @@ -879,7 +879,7 @@ type SendToTreasuryCmd struct { Amount float64 } -// NewSendToTreasurymd returns a new instance which can be used to issue a +// NewSendToTreasuryCmd returns a new instance which can be used to issue a // sendtotreasury JSON-RPC command. func NewSendToTreasuryCmd(amount float64, comment, commentTo *string) *SendToTreasuryCmd { return &SendToTreasuryCmd{ @@ -893,7 +893,7 @@ type SendFromTreasuryCmd struct { Amounts map[string]float64 } -// NewSendFromTreasurymd returns a new instance which can be used to issue a +// NewSendFromTreasuryCmd returns a new instance which can be used to issue a // sendfromtreasury JSON-RPC command. func NewSendFromTreasuryCmd(pubkey string, amounts map[string]float64) *SendFromTreasuryCmd { return &SendFromTreasuryCmd{