Fixes node startup
This commit is contained in:
parent
21906b5a63
commit
d94cdaaade
@ -297,7 +297,7 @@ type MinerInfo struct {
|
|||||||
WindowPoStPartitionSectors uint64
|
WindowPoStPartitionSectors uint64
|
||||||
ConsensusFaultElapsed abi.ChainEpoch
|
ConsensusFaultElapsed abi.ChainEpoch
|
||||||
Beneficiary address.Address
|
Beneficiary address.Address
|
||||||
BeneficiaryTerm miner.BeneficiaryTerm
|
BeneficiaryTerm *miner.BeneficiaryTerm
|
||||||
PendingBeneficiaryTerm *miner.PendingBeneficiaryChange
|
PendingBeneficiaryTerm *miner.PendingBeneficiaryChange
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ func (m *StateModule) StateMinerInfo(ctx context.Context, actor address.Address,
|
|||||||
WindowPoStPartitionSectors: info.WindowPoStPartitionSectors,
|
WindowPoStPartitionSectors: info.WindowPoStPartitionSectors,
|
||||||
ConsensusFaultElapsed: info.ConsensusFaultElapsed,
|
ConsensusFaultElapsed: info.ConsensusFaultElapsed,
|
||||||
Beneficiary: info.Beneficiary,
|
Beneficiary: info.Beneficiary,
|
||||||
BeneficiaryTerm: info.BeneficiaryTerm,
|
BeneficiaryTerm: &info.BeneficiaryTerm,
|
||||||
PendingBeneficiaryTerm: info.PendingBeneficiaryTerm,
|
PendingBeneficiaryTerm: info.PendingBeneficiaryTerm,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user