We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb8754f + 1a538c5 commit 74f2f3bCopy full SHA for 74f2f3b
pallets/subtensor/src/registration.rs
@@ -546,7 +546,7 @@ impl<T: Config> Pallet<T> {
546
}
547
548
pub fn create_seal_hash(block_number_u64: u64, nonce_u64: u64, hotkey: &T::AccountId) -> H256 {
549
- let nonce = nonce_u64.to_be_bytes();
+ let nonce = nonce_u64.to_le_bytes();
550
let block_hash_at_number: H256 = Self::get_block_hash_from_u64(block_number_u64);
551
let block_hash_bytes: &[u8; 32] = block_hash_at_number.as_fixed_bytes();
552
let binding = Self::hash_block_and_hotkey(block_hash_bytes, hotkey);
0 commit comments