diff --git a/api/types.go b/api/types.go index dc83be3c7..f3cf119bb 100644 --- a/api/types.go +++ b/api/types.go @@ -297,7 +297,7 @@ type MinerInfo struct { WindowPoStPartitionSectors uint64 ConsensusFaultElapsed abi.ChainEpoch Beneficiary address.Address - BeneficiaryTerm miner.BeneficiaryTerm + BeneficiaryTerm *miner.BeneficiaryTerm PendingBeneficiaryTerm *miner.PendingBeneficiaryChange } diff --git a/node/impl/full/state.go b/node/impl/full/state.go index d7da00eb1..5247b9fb5 100644 --- a/node/impl/full/state.go +++ b/node/impl/full/state.go @@ -178,7 +178,7 @@ func (m *StateModule) StateMinerInfo(ctx context.Context, actor address.Address, WindowPoStPartitionSectors: info.WindowPoStPartitionSectors, ConsensusFaultElapsed: info.ConsensusFaultElapsed, Beneficiary: info.Beneficiary, - BeneficiaryTerm: info.BeneficiaryTerm, + BeneficiaryTerm: &info.BeneficiaryTerm, PendingBeneficiaryTerm: info.PendingBeneficiaryTerm, }