From fba1b1f223d5e6ee5f052134ca2be8ddd67fd327 Mon Sep 17 00:00:00 2001 From: linghuying <1599935829@qq.com> Date: Tue, 16 Jul 2024 11:40:50 +0800 Subject: [PATCH] chore: fix some comments for struct field 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