Skip to content

Commit

Permalink
Merge pull request #60 from make-software/CMW-586/unbonding-purse
Browse files Browse the repository at this point in the history
fix(types): Change NewValidator to be optional for UnbondingPurse (CMW-586)
  • Loading branch information
koltsov-iv authored Oct 18, 2023
2 parents a0132fc + 6d20840 commit 6c434a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup GO environment
run: |
go mod vendor
go install -v github.com/incu6us/goimports-reviser/v3.5.6
go install -v github.com/incu6us/goimports-reviser/v3@v3.5.6
go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Format
Expand Down
2 changes: 1 addition & 1 deletion types/unbonding_purse.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ type UnbondingPurse struct {
// The original validator's public key.
ValidatorPublicKey keypair.PublicKey `json:"validator_public_key"`
// The re-delegated validator's public key.
NewValidator keypair.PublicKey `json:"new_validator"`
NewValidator *keypair.PublicKey `json:"new_validator"`
}

0 comments on commit 6c434a2

Please sign in to comment.