Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bittensor_cli/src/bittensor/subtensor_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ async def create_signed(call_to_sign, n):
inner_hash = ""
if mev_protection:
max_mev_era = 8
if era is not None and era["period"] > max_mev_era:
if era is None or era["period"] > max_mev_era:
era = {"period": max_mev_era}
next_nonce = await self.substrate.get_account_next_index(
keypair.ss58_address
Expand Down