ct-woodpecker
ct-woodpecker copied to clipboard
cttestsrv: Fix usage of deprecated Trillian protobuf fields
GolangCI's "megacheck" linter found three deprecated fields to address in the cttestsrv:
- signedLogRoot.TreeSize is deprecated: TreeSize moved to LogRoot.
- signedLogRoot.TimestampNanos is deprecated: TimestampNanos moved to LogRoot.
- signedLogRoot.RootHash is deprecated: RootHash moved to LogRoot.
I think fixing these will require unserializing the log_root []byte from the response and referencing the fields on that structure.