compile fix
This commit is contained in:
parent
f741ce6e30
commit
c130806c37
@ -13,6 +13,8 @@ import (
|
||||
|
||||
"github.com/filecoin-project/go-state-types/abi"
|
||||
|
||||
v0miner "github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
||||
|
||||
"github.com/filecoin-project/lotus/api"
|
||||
"github.com/filecoin-project/lotus/chain/actors/builtin/miner"
|
||||
"github.com/filecoin-project/lotus/chain/types"
|
||||
@ -378,7 +380,7 @@ var sectorsCapacityCollateralCmd = &cli.Command{
|
||||
Expiration: abi.ChainEpoch(cctx.Uint64("expiration")),
|
||||
}
|
||||
if pci.Expiration == 0 {
|
||||
pci.Expiration = miner.MaxSectorExpirationExtension
|
||||
pci.Expiration = v0miner.MaxSectorExpirationExtension
|
||||
}
|
||||
pc, err := nApi.StateMinerInitialPledgeCollateral(ctx, maddr, pci, types.EmptyTSK)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user