fix: miner: call ExtendSectorExpiration2

This commit is contained in:
Aayush 2023-03-23 17:28:11 -04:00
parent a467e1ab31
commit 7b55de21bd

View File

@ -1231,7 +1231,7 @@ var sectorsExtendCmd = &cli.Command{
smsg, err := fullApi.MpoolPushMessage(ctx, &types.Message{ smsg, err := fullApi.MpoolPushMessage(ctx, &types.Message{
From: mi.Worker, From: mi.Worker,
To: maddr, To: maddr,
Method: builtin.MethodsMiner.ExtendSectorExpiration, Method: builtin.MethodsMiner.ExtendSectorExpiration2,
Value: big.Zero(), Value: big.Zero(),
Params: sp, Params: sp,
}, spec) }, spec)