Skip to content

Commit 9965318

Browse files
Put faucet extrinsic behind ‘pow-faucet’ feature.
1 parent 5f7514a commit 9965318

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ mod dispatches {
12431243
#[pallet::weight((Weight::from_parts(91_000_000, 0)
12441244
.saturating_add(T::DbWeight::get().reads(27))
12451245
.saturating_add(T::DbWeight::get().writes(22)), DispatchClass::Normal, Pays::No))]
1246+
#[cfg(feature = "pow-faucet")]
12461247
pub fn faucet(
12471248
origin: OriginFor<T>,
12481249
block_number: u64,

0 commit comments

Comments
 (0)