Skip to content
Snippets Groups Projects
Commit ba229c62 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

Refactor CurrencyToVote (#6896)


* Refactor CurrencyToVote to avoid calls to total_issuance.

* Update frame/support/src/traits.rs

Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>

* Some grumbles

* Fix last grumbles.

* Fix comment

* Final fix

Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
parent aba0128f
No related merge requests found
Showing
with 157 additions and 199 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment