Skip to content

Commit

Permalink
Fix struct names (#2169)
Browse files Browse the repository at this point in the history
Signed-off-by: coderwander <770732124@qq.com>
  • Loading branch information
coderwander committed Jun 19, 2024
1 parent 976cbeb commit 11bd614
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion btcjson/walletsvrcmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ type ImportMultiRequest struct {
KeyPool *bool `json:"keypool,omitempty"`
}

// ImportMultiRequest defines the options struct, provided to the
// ImportMultiOptions defines the options struct, provided to the
// ImportMultiCmd as a pointer argument.
type ImportMultiOptions struct {
Rescan bool `json:"rescan"` // Rescan the blockchain after all imports
Expand Down
2 changes: 1 addition & 1 deletion rpcclient/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ func (c *Client) EstimateFee(numBlocks int64) (float64, error) {
return c.EstimateFeeAsync(numBlocks).Receive()
}

// FutureEstimateFeeResult is a future promise to deliver the result of a
// FutureEstimateSmartFeeResult is a future promise to deliver the result of a
// EstimateSmartFeeAsync RPC invocation (or an applicable error).
type FutureEstimateSmartFeeResult chan *Response

Expand Down
2 changes: 1 addition & 1 deletion rpcclient/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -2610,7 +2610,7 @@ func (c *Client) GetInfo() (*btcjson.InfoWalletResult, error) {
return c.GetInfoAsync().Receive()
}

// FutureImportPubKeyResult is a future promise to deliver the result of an
// FutureWalletCreateFundedPsbtResult is a future promise to deliver the result of an
// WalletCreateFundedPsbt RPC invocation (or an applicable error).
type FutureWalletCreateFundedPsbtResult chan *Response

Expand Down

0 comments on commit 11bd614

Please sign in to comment.