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

Remove unused ComputedBankState::lockout_intervals#10733

Closed
ryoqun wants to merge 1 commit intosolana-labs:masterfrom
ryoqun:remove-computed-lockout-intervals
Closed

Remove unused ComputedBankState::lockout_intervals#10733
ryoqun wants to merge 1 commit intosolana-labs:masterfrom
ryoqun:remove-computed-lockout-intervals

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Jun 22, 2020

Problem

ComputedBankState::lockout_intervals isn't used at all and causes confusion to readers and does unneeded .clone() of BTreeMap (=LockoutIntervals).

Summary of Changes

Just remove it.

This should contain no functional change.

Part of #10718

@ryoqun ryoqun requested a review from carllin June 22, 2020 09:38
@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Jun 22, 2020

ci failed...

@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Jun 22, 2020

Hmm, it looks like this is actually used?

@ryoqun ryoqun closed this Jun 22, 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.

1 participant