Skip to content

Commit

Permalink
fix zero
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Sep 18, 2023
1 parent a640b33 commit 966ec12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallets/randomness/src/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use crate::{
BalanceOf, Call, Config, InherentIncluded, LocalVrfOutput, NotFirstBlock, Pallet,
RandomnessResult, RandomnessResults, RelayEpoch, Request, RequestCount, RequestType,
};
use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, Zero};
use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite};
use frame_support::{
dispatch::DispatchResult,
traits::{Currency, Get, OnInitialize},
Expand All @@ -39,6 +39,7 @@ use sp_core::{
crypto::{ByteArray, UncheckedFrom},
sr25519, H160, H256,
};
use sp_runtime::traits::Zero;
use sp_runtime::traits::{Convert, One};
use sp_std::{mem::size_of, vec};

Expand Down

0 comments on commit 966ec12

Please sign in to comment.