Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Don't subject authorizing a new stake authority to lockup #9434

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

garious
Copy link
Contributor

@garious garious commented Apr 10, 2020

Problem

If a stake authority is compromised, the withdraw authority can be used to set a new one. That's currently not true iff the stake account is locked up.

Summary of Changes

Allow the stake authority to be updated when the account is locked up.

@codecov
Copy link

codecov bot commented Apr 10, 2020

Codecov Report

Merging #9434 into master will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master   #9434   +/-   ##
======================================
  Coverage    81.1%   81.1%           
======================================
  Files         277     277           
  Lines       62337   62340    +3     
======================================
+ Hits        50598   50602    +4     
+ Misses      11739   11738    -1     

@garious garious merged commit 31ebdbc into solana-labs:master Apr 10, 2020
mergify bot pushed a commit that referenced this pull request Apr 10, 2020
mergify bot pushed a commit that referenced this pull request Apr 10, 2020
mvines pushed a commit that referenced this pull request Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants