fixup bitfield serialization in manual faulty sector handler

This commit is contained in:
whyrusleeping 2020-01-17 00:13:00 -08:00
parent b02eaee0d4
commit 2a7dcb6e17

View File

@ -242,8 +242,7 @@ func (m *Miner) handleFaulty(ctx context.Context, sector SectorInfo) *sectorUpda
bf.Set(sector.SectorID)
fp := &actors.DeclareFaultsParams{bf}
_ = fp
enc, aerr := actors.SerializeParams(nil)
enc, aerr := actors.SerializeParams(fp)
if aerr != nil {
return sector.upd().fatal(xerrors.Errorf("failed to serialize declare fault params: %w", aerr))
}