Don't use -1 as default sector number

This commit is contained in:
Aayush Rajasekaran 2020-09-18 14:41:03 -04:00
parent ccd0a67b01
commit c3046f487c

View File

@ -412,7 +412,7 @@ func (r *refunder) ProcessTipset(ctx context.Context, tipset *types.TipSet, refu
sn = proveCommitSector.SectorNumber
} else {
// TODO: ActorUpgrade
sn = -1
sn = 0
}
// We use the parent tipset key because precommit information is removed when ProveCommitSector is executed