From c3046f487cf01a0a4d06c42510f04c33ddd3965a Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Fri, 18 Sep 2020 14:41:03 -0400 Subject: [PATCH] Don't use -1 as default sector number --- cmd/lotus-pcr/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-pcr/main.go b/cmd/lotus-pcr/main.go index 3dedb24fc..53c8223ed 100644 --- a/cmd/lotus-pcr/main.go +++ b/cmd/lotus-pcr/main.go @@ -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