We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2138a76 commit 23c86c1Copy full SHA for 23c86c1
ledger/common/certs.go
@@ -392,7 +392,6 @@ type PoolRegistrationCertificate struct {
392
393
func (p *PoolRegistrationCertificate) UnmarshalJSON(data []byte) error {
394
type tempPool struct {
395
- //nolint:musttag
396
Operator string `json:"operator"`
397
VrfKeyHash string `json:"vrfKeyHash"`
398
Pledge uint64 `json:"pledge"`
@@ -412,6 +411,7 @@ func (p *PoolRegistrationCertificate) UnmarshalJSON(data []byte) error {
412
411
}
413
414
var tmp tempPool
+ //nolint:musttag
415
if err := json.Unmarshal(data, &tmp); err != nil {
416
return fmt.Errorf("failed to unmarshal pool registration: %w", err)
417
0 commit comments