Fix struct names (#2169)

Signed-off-by: coderwander <770732124@qq.com>
This commit is contained in:
coderwander 2024-06-19 23:38:54 +08:00 committed by GitHub
parent 976cbebd09
commit 11bd614171
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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