From 5fd49d4d6ae597c99bbc64fd6596fba3b8e3b186 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 20 Jul 2020 20:34:59 +0200 Subject: [PATCH] Use estimated gas for commit Signed-off-by: Jakub Sztandera --- states_sealing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states_sealing.go b/states_sealing.go index fd5c2c09e..9b1c04291 100644 --- a/states_sealing.go +++ b/states_sealing.go @@ -319,7 +319,7 @@ func (m *Sealing) handleCommitting(ctx statemachine.Context, sector SectorInfo) } // TODO: check seed / ticket are up to date - mcid, err := m.api.SendMsg(ctx.Context(), waddr, m.maddr, builtin.MethodsMiner.ProveCommitSector, collateral, big.NewInt(0), 200000000, enc.Bytes()) + mcid, err := m.api.SendMsg(ctx.Context(), waddr, m.maddr, builtin.MethodsMiner.ProveCommitSector, collateral, big.NewInt(0), 0, enc.Bytes()) if err != nil { return ctx.Send(SectorCommitFailed{xerrors.Errorf("pushing message to mpool: %w", err)}) }