From 8f73d0268344b62b882d61cd35634bea5a674425 Mon Sep 17 00:00:00 2001 From: Arthurdw Date: Sat, 21 Mar 2026 10:38:11 +0100 Subject: [PATCH] fix: nonce fix --- bittensor/core/extrinsics/asyncex/mev_shield.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bittensor/core/extrinsics/asyncex/mev_shield.py b/bittensor/core/extrinsics/asyncex/mev_shield.py index d4bf360997..93ff4d96ac 100644 --- a/bittensor/core/extrinsics/asyncex/mev_shield.py +++ b/bittensor/core/extrinsics/asyncex/mev_shield.py @@ -153,9 +153,7 @@ async def submit_encrypted_extrinsic( current_nonce = await subtensor.substrate.get_account_next_index( account_address=inner_signing_keypair.ss58_address ) - next_nonce = await subtensor.substrate.get_account_next_index( - account_address=inner_signing_keypair.ss58_address - ) + next_nonce = current_nonce + 1 signed_extrinsic = await subtensor.substrate.create_signed_extrinsic( call=call, keypair=inner_signing_keypair, nonce=next_nonce, era=era )