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

Fnbool_to_FnOptionT#3041

Merged
solana-grimes merged 1 commit intosolana-labs:masterfrom
rob-solana:Fnbool_to_FnOptionT
Mar 1, 2019
Merged

Fnbool_to_FnOptionT#3041
solana-grimes merged 1 commit intosolana-labs:masterfrom
rob-solana:Fnbool_to_FnOptionT

Conversation

@rob-solana
Copy link
Copy Markdown
Contributor

Problem

epoch_vote_states() is clumsy, operates on a bool closure

Summary of Changes

move to Option, more flexible

Fixes #

Copy link
Copy Markdown
Contributor

@garious garious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. I was thinking there was a double-call to get_balance that'd go away as a result of having this.

@garious
Copy link
Copy Markdown
Contributor

garious commented Mar 1, 2019

I see it. Need this same change to be made to vote_states().

@rob-solana rob-solana added the automerge Merge this Pull Request automatically once CI passes label Mar 1, 2019
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 1, 2019

Codecov Report

Merging #3041 into master will increase coverage by <.1%.
The diff coverage is 92.8%.

@@           Coverage Diff            @@
##           master   #3041     +/-   ##
========================================
+ Coverage    77.2%   77.3%   +<.1%     
========================================
  Files         132     132             
  Lines       20182   20185      +3     
========================================
+ Hits        15599   15606      +7     
+ Misses       4583    4579      -4

@solana-grimes solana-grimes merged commit a7c18cc into solana-labs:master Mar 1, 2019
@rob-solana rob-solana deleted the Fnbool_to_FnOptionT branch March 1, 2019 22:25
steviez pushed a commit to steviez/solana that referenced this pull request Nov 4, 2024
Lichtso pushed a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants