From afa913f2ed8fd75a546112c32afa3f081b1f7a9c Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 9 Sep 2020 11:34:55 -0700 Subject: [PATCH] Remove hard-coded late-fee in window PoSt This is no longer necessary, and doesn't really serve any purpose. --- storage/wdpost_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/wdpost_run.go b/storage/wdpost_run.go index 51d71e331..090648dbb 100644 --- a/storage/wdpost_run.go +++ b/storage/wdpost_run.go @@ -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)