Skip to content

Commit

Permalink
Merge pull request #3421 from IPFSMain-Official/master
Browse files Browse the repository at this point in the history
remove the unnecessary err check
  • Loading branch information
magik6k committed Aug 31, 2020
2 parents a4decaa + 0926f95 commit e1e0152
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chain/messagepool/messagepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit e1e0152

Please sign in to comment.