From ff2e03e11233fa25c01cf4acbf76501fc008b31f Mon Sep 17 00:00:00 2001 From: linghuying <1599935829@qq.com> Date: Tue, 16 Jul 2024 22:02:23 +0900 Subject: [PATCH] chore: fix some comments for struct field (#2214) Signed-off-by: linghuying <1599935829@qq.com> --- mempool/mempool.go | 2 +- mining/policy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mempool/mempool.go b/mempool/mempool.go index cc0ec10fe0..84e583f4af 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -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 } diff --git a/mining/policy.go b/mining/policy.go index 8ddd575462..b92df27796 100644 --- a/mining/policy.go +++ b/mining/policy.go @@ -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