Remove hard-coded late-fee in window PoSt

This is no longer necessary, and doesn't really serve any purpose.
This commit is contained in:
Steven Allen 2020-09-09 11:34:55 -07:00
parent a2f1e76fea
commit afa913f2ed

View File

@ -490,7 +490,7 @@ func (s *WindowPoStScheduler) submitPost(ctx context.Context, proof *miner.Submi
From: s.worker,
Method: builtin.MethodsMiner.SubmitWindowedPoSt,
Params: enc,
Value: types.NewInt(1000), // currently hard-coded late fee in actor, returned if not late
Value: types.NewInt(0),
}
spec := &api.MessageSendSpec{MaxFee: abi.TokenAmount(s.feeCfg.MaxWindowPoStGasFee)}
s.setSender(ctx, msg, spec)