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.
1 parent cb8754f commit 5961668Copy full SHA for 5961668
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 = U256::from(nonce_u64);
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