Skip to content

Commit

Permalink
update doc for WeightCommits
Browse files Browse the repository at this point in the history
  • Loading branch information
open-junius committed Jul 18, 2024
1 parent a2b8d70 commit 15920f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ pub mod pallet {
pub type AlphaValues<T> =
StorageMap<_, Identity, u16, (u16, u16), ValueQuery, DefaultAlphaValues<T>>;

#[pallet::storage] // --- MAP (netuid, who) --> (hash, weight) | Returns the hash and weight committed by an account for a given netuid.
#[pallet::storage] // --- MAP (netuid, who) --> (hash, block height) | Returns the hash and block height committed by an account for a given netuid.
pub type WeightCommits<T: Config> = StorageDoubleMap<
_,
Twox64Concat,
Expand Down

0 comments on commit 15920f0

Please sign in to comment.