Skip to content

Commit

Permalink
chore: fix some comments for struct field (btcsuite#2214)
Browse files Browse the repository at this point in the history
Signed-off-by: linghuying <[email protected]>
  • Loading branch information
linghuying authored Jul 16, 2024
1 parent 2134387 commit ff2e03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mempool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion mining/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ff2e03e

Please sign in to comment.