Don't assert params must be empty for Methodnum = 0

This commit is contained in:
Aayush Rajasekaran 2020-05-14 15:10:07 -04:00
parent 934b2df763
commit 2e74e1d2ae

View File

@ -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")
}