Skip to content

Commit

Permalink
Merge pull request #411 from klim0v/v1.2
Browse files Browse the repository at this point in the history
fix change pubkey
  • Loading branch information
danil-lashin authored Sep 28, 2020
2 parents 309fe9e + a48d14a commit a2cb786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state/candidates/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func (candidate *Candidate) setControl(address types.Address) {
func (candidate *Candidate) setPublicKey(pubKey types.Pubkey) {
candidate.isDirty = true
candidate.PubKey = pubKey
candidate.setTmAddress()
}

func (candidate *Candidate) addUpdate(stake *stake) {
Expand Down

0 comments on commit a2cb786

Please sign in to comment.