mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Switch to Rust 2021 (#10170)
* Switch to Rust 2021 * Update trybuild to fix errors
This commit is contained in:
@@ -71,7 +71,6 @@ fn existential_weight<T: pallet_staking::Config>(
|
||||
minimum_balance: u128,
|
||||
) -> VoteWeight {
|
||||
use frame_support::traits::CurrencyToVote;
|
||||
use std::convert::TryInto;
|
||||
|
||||
T::CurrencyToVote::to_vote(
|
||||
minimum_balance
|
||||
|
||||
Reference in New Issue
Block a user