From 2e74e1d2aea15c52f83b2c408cebf94b6acbcb77 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Thu, 14 May 2020 15:10:07 -0400 Subject: [PATCH] Don't assert params must be empty for Methodnum = 0 --- chain/sync.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chain/sync.go b/chain/sync.go index 52a145bb0..3df938455 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -865,10 +865,6 @@ func (syncer *Syncer) checkBlockMessages(ctx context.Context, b *types.FullBlock return xerrors.New("'Value' field cannot be greater than total filecoin supply") } - if len(m.Params) != 0 && m.Method == 0 { - return xerrors.New("'Params' field should be empty if no 'Method' is being called") - } - if m.GasPrice.LessThan(big.Zero()) { return xerrors.New("'GasPrice' field cannot be negative") }