diff --git a/pkg/trace/schema/consensus.go b/pkg/trace/schema/consensus.go index 053b764e8b..8551d53da8 100644 --- a/pkg/trace/schema/consensus.go +++ b/pkg/trace/schema/consensus.go @@ -15,12 +15,13 @@ func ConsensusTables() []string { VoteTable, ConsensusStateTable, ProposalTable, + PrecommitTimeTable, } } const ( - // PrecommitTime - PrecommitTime = "precommit_time" + // PrecommitTimeTable + PrecommitTimeTable = "precommit_time" ) type PreCommitTime struct { @@ -30,7 +31,7 @@ type PreCommitTime struct { } func (p PreCommitTime) Table() string { - return PrecommitTime + return PrecommitTimeTable } func WritePreCommitTime(client trace.Tracer, height int64, round int32, delay float64) {