Merge pull request #3421 from IPFSMain-Official/master
remove the unnecessary err check
This commit is contained in:
commit
e1e01524e7
@ -204,9 +204,7 @@ func New(api Provider, ds dtypes.MetadataDS, netName dtypes.NetworkName) (*Messa
|
|||||||
|
|
||||||
cfg, err := loadConfig(ds)
|
cfg, err := loadConfig(ds)
|
||||||
if err != nil {
|
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{
|
mp := &MessagePool{
|
||||||
|
Loading…
Reference in New Issue
Block a user