Skip to content

Commit 74f2f3b

Browse files
Merge pull request #410 from opentensor/junius/fix-faucet-calc
Junius/fix faucet calc
2 parents cb8754f + 1a538c5 commit 74f2f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/registration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ impl<T: Config> Pallet<T> {
546546
}
547547

548548
pub fn create_seal_hash(block_number_u64: u64, nonce_u64: u64, hotkey: &T::AccountId) -> H256 {
549-
let nonce = nonce_u64.to_be_bytes();
549+
let nonce = nonce_u64.to_le_bytes();
550550
let block_hash_at_number: H256 = Self::get_block_hash_from_u64(block_number_u64);
551551
let block_hash_bytes: &[u8; 32] = block_hash_at_number.as_fixed_bytes();
552552
let binding = Self::hash_block_and_hotkey(block_hash_bytes, hotkey);

0 commit comments

Comments
 (0)