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

Commit

Permalink
fixing 1516
Browse files Browse the repository at this point in the history
  • Loading branch information
laudiacay committed Oct 19, 2021
1 parent b91ffa9 commit abf7e9b
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 @@ -233,7 +233,6 @@ func (a Actor) PublishStorageDeals(rt Runtime, params *PublishStorageDealsParams
// We should 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(deal.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 abf7e9b

Please sign in to comment.