Skip to content

Commit

Permalink
Update pallets/subtensor/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: orriin <[email protected]>
  • Loading branch information
keithtensor and orriin authored Jun 6, 2024
1 parent 09d384d commit 3c40f25
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 @@ -1148,7 +1148,7 @@ pub mod pallet {
Stake::<T>::insert(hotkey.clone(), coldkey.clone(), stake);

next_uid = next_uid.checked_add(1).expect(
"should not have total number of hotkey accounts larger than u16::MAX",
"genesis state should not have a total number of hotkey accounts larger than u16::MAX",
);
}
}
Expand Down

0 comments on commit 3c40f25

Please sign in to comment.