Skip to content

Commit 23c86c1

Browse files
committed
ci(lint): move nolint:musttag
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 2138a76 commit 23c86c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledger/common/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ type PoolRegistrationCertificate struct {
392392

393393
func (p *PoolRegistrationCertificate) UnmarshalJSON(data []byte) error {
394394
type tempPool struct {
395-
//nolint:musttag
396395
Operator string `json:"operator"`
397396
VrfKeyHash string `json:"vrfKeyHash"`
398397
Pledge uint64 `json:"pledge"`
@@ -412,6 +411,7 @@ func (p *PoolRegistrationCertificate) UnmarshalJSON(data []byte) error {
412411
}
413412

414413
var tmp tempPool
414+
//nolint:musttag
415415
if err := json.Unmarshal(data, &tmp); err != nil {
416416
return fmt.Errorf("failed to unmarshal pool registration: %w", err)
417417
}

0 commit comments

Comments
 (0)