11// Copyright (c) 2014 Conformal Systems LLC.
2- // Copyright (c) 2015-2021 The Decred developers
2+ // Copyright (c) 2015-2026 The Decred developers
33// Use of this source code is governed by an ISC
44// license that can be found in the LICENSE file.
55
@@ -23,15 +23,15 @@ const (
2323 // ErrSStxNoOutputs indicates that a given SStx has no outputs.
2424 ErrSStxNoOutputs = ErrorKind ("ErrSStxNoOutputs" )
2525
26- // ErrSStxInvalidInput indicates that an invalid output has been used as
27- // an input for a SStx; only non-SStx tagged outputs may be used to
28- // purchase stake tickets.
26+ // ErrSStxInvalidInputs indicates that an invalid output has been used as an
27+ // input for a SStx; only non-SStx tagged outputs may be used to purchase
28+ // stake tickets.
2929 // TODO: Add this into validate
3030 // Ensure that all inputs are not tagged SStx outputs of some sort,
3131 // along with checks to make sure they exist and are available.
3232 ErrSStxInvalidInputs = ErrorKind ("ErrSStxInvalidInputs" )
3333
34- // ErrSStxInvalidOutput indicates that the output for an SStx tx is
34+ // ErrSStxInvalidOutputs indicates that the output for an SStx tx is
3535 // invalid; in particular, either the output was not tagged SStx or the
3636 // OP_RETURNs were missing or contained invalid addresses.
3737 ErrSStxInvalidOutputs = ErrorKind ("ErrSStxInvalidOutputs" )
@@ -79,8 +79,8 @@ const (
7979 // included as the first output.
8080 ErrSSGenNoReference = ErrorKind ("ErrSSGenNoReference" )
8181
82- // ErrSSGenNoReference indicates that the OP_RETURN included as the
83- // first output was corrupted in some way.
82+ // ErrSSGenBadReference indicates that the OP_RETURN included as the first
83+ // output was corrupted in some way.
8484 ErrSSGenBadReference = ErrorKind ("ErrSSGenBadReference" )
8585
8686 // ErrSSGenNoVotePush indicates that there is no vote bits OP_RETURN
0 commit comments