diff --git a/chain/messagepool/messagepool.go b/chain/messagepool/messagepool.go index e6d790d7c..bef0ed271 100644 --- a/chain/messagepool/messagepool.go +++ b/chain/messagepool/messagepool.go @@ -204,9 +204,7 @@ func New(api Provider, ds dtypes.MetadataDS, netName dtypes.NetworkName) (*Messa cfg, err := loadConfig(ds) if err != nil { - if err != nil { - return nil, xerrors.Errorf("error loading mpool config: %w", err) - } + return nil, xerrors.Errorf("error loading mpool config: %w", err) } mp := &MessagePool{