From 61f453fcd378757a69f9745cda9e5863ef7512f5 Mon Sep 17 00:00:00 2001 From: zenground0 Date: Tue, 8 Mar 2022 14:57:11 -0700 Subject: [PATCH] Print sector key in state sector command --- cli/state.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/state.go b/cli/state.go index bac7efae8..18d9a12bd 100644 --- a/cli/state.go +++ b/cli/state.go @@ -1768,6 +1768,9 @@ var StateSectorCmd = &cli.Command{ fmt.Println("SectorNumber: ", si.SectorNumber) fmt.Println("SealProof: ", si.SealProof) fmt.Println("SealedCID: ", si.SealedCID) + if si.SectorKeyCID != nil { + fmt.Println("SectorKeyCID: ", si.SectorKeyCID) + } fmt.Println("DealIDs: ", si.DealIDs) fmt.Println() fmt.Println("Activation: ", EpochTime(ts.Height(), si.Activation))