Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
fixing 1516 (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
laudiacay authored and ZenGround0 committed Dec 31, 2021
1 parent 71baeb1 commit fa145b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actors/builtin/market/market_actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ func (a Actor) PublishStorageDeals(rt Runtime, params *PublishStorageDealsParams
// We randomize the first epoch for when the deal will be processed so an attacker isn't able to
// schedule too many deals for the same tick.
processEpoch := GenRandNextEpoch(validDeal.Proposal.StartEpoch, id)
builtin.RequireNoErr(rt, err, exitcode.ErrIllegalState, "failed to generate random process epoch")

err = msm.dealsByEpoch.Put(processEpoch, id)
builtin.RequireNoErr(rt, err, exitcode.ErrIllegalState, "failed to set deal ops by epoch")
Expand Down

0 comments on commit fa145b9

Please sign in to comment.