Skip to content

Commit cb55912

Browse files
authored
only try to witness if configured to do so (transparency-dev#947)
1 parent 74446b0 commit cb55912

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

append_lifecycle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ func (o AppendOptions) CheckpointPublisher(lr LogReader, httpClient *http.Client
719719

720720
span.AddEvent("Starting witnessing")
721721
// Handle witnessing
722-
{
722+
if len(o.witnesses.Components) != 0 {
723723
// Figure out the likely size the witnesses are aware of, but don't fail hard if we're unable
724724
// to do so:
725725
// a) it could be that this is the first checkpoint we're publishing

0 commit comments

Comments
 (0)