Skip to content

Commit 059e3df

Browse files
committed
add must use
1 parent 60cd025 commit 059e3df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pallets/subtensor/src/staking/stake_utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ impl<T: Config> Pallet<T> {
555555
/// * `netuid` - The unique identifier of the subnet.
556556
/// * `amount` - The amount of alpha to be added.
557557
///
558+
#[must_use]
558559
pub fn decrease_stake_for_hotkey_and_coldkey_on_subnet(
559560
hotkey: &T::AccountId,
560561
coldkey: &T::AccountId,

0 commit comments

Comments
 (0)