Skip to content

Commit

Permalink
Merge pull request #4480 from filecoin-project/fix/max-piece-size-rev…
Browse files Browse the repository at this point in the history
…erting-to-default

Don't overwrite previously-configured maxPieceSize for a persisted ask
  • Loading branch information
magik6k authored Oct 19, 2020
2 parents bae7354 + 1974490 commit 06c0444
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions node/modules/storageminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,6 @@ func NewStorageAsk(ctx helpers.MetricsCtx, fapi lapi.FullNode, ds dtypes.Metadat
if err != nil {
return nil, err
}
a := storedAsk.GetAsk().Ask
err = storedAsk.SetAsk(a.Price, a.VerifiedPrice, a.Expiry-a.Timestamp)
if err != nil {
return storedAsk, err
}
Expand Down

0 comments on commit 06c0444

Please sign in to comment.