diff --git a/api/types.go b/api/types.go index 37cc4a7fa..d757e18aa 100644 --- a/api/types.go +++ b/api/types.go @@ -60,6 +60,7 @@ type MinerInfo struct { SealProofType abi.RegisteredSealProof SectorSize abi.SectorSize WindowPoStPartitionSectors uint64 + ConsensusFaultElapsed abi.ChainEpoch } func NewApiMinerInfo(info *miner.MinerInfo) MinerInfo { @@ -81,6 +82,7 @@ func NewApiMinerInfo(info *miner.MinerInfo) MinerInfo { SealProofType: info.SealProofType, SectorSize: info.SectorSize, WindowPoStPartitionSectors: info.WindowPoStPartitionSectors, + ConsensusFaultElapsed: info.ConsensusFaultElapsed, } if info.PendingWorkerKey != nil { diff --git a/lotuspond/front/src/chain/methods.json b/lotuspond/front/src/chain/methods.json index ad1076c84..afda9a28a 100644 --- a/lotuspond/front/src/chain/methods.json +++ b/lotuspond/front/src/chain/methods.json @@ -82,7 +82,6 @@ "EnrollCronEvent", "OnEpochTickEnd", "UpdatePledgeTotal", - "OnConsensusFault", "SubmitPoRepForBulkVerify", "CurrentTotalPower" ],