chore: fix some comments for struct field (#2214)

Signed-off-by: linghuying <1599935829@qq.com>
This commit is contained in:
linghuying 2024-07-16 22:02:23 +09:00 committed by GitHub
parent 2134387ba8
commit ff2e03e112
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ type Config struct {
// This can be nil if the address index is not enabled.
AddrIndex *indexers.AddrIndex
// FeeEstimatator provides a feeEstimator. If it is not nil, the mempool
// FeeEstimator provides a feeEstimator. If it is not nil, the mempool
// records all new transactions it observes into the feeEstimator.
FeeEstimator *FeeEstimator
}

View File

@ -29,7 +29,7 @@ type Policy struct {
// generating a block template.
BlockMaxWeight uint32
// BlockMinWeight is the minimum block size to be used when generating
// BlockMinSize is the minimum block size to be used when generating
// a block template.
BlockMinSize uint32