Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion bittensor/core/axon.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,9 @@ async def default_verify(self, synapse: "Synapse"):
):
raise Exception("Nonce is too old, a newer one was last processed")

if not keypair.verify(message, synapse.dendrite.signature):
if synapse.dendrite.signature and not keypair.verify(
message, synapse.dendrite.signature
):
raise Exception(
f"Signature mismatch with {message} and {synapse.dendrite.signature}"
)
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ dependencies = [
"scalecodec==1.2.11",
"uvicorn",
"websockets>=14.1",
"bittensor-commit-reveal>=0.2.0",
"bittensor-wallet>=3.0.4",
"bittensor-commit-reveal>=0.3.1",
"bittensor-wallet>=3.0.7",
"async-substrate-interface>=1.0.8"
]

Expand Down Expand Up @@ -67,6 +67,9 @@ dev = [
torch = [
"torch>=1.13.1,<2.6.0"
]
cli = [
"bittensor-cli>=9.0.2"
]

[project.urls]
# more details can be found here
Expand Down
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ scalecodec==1.2.11
uvicorn
websockets>=14.1
bittensor-commit-reveal>=0.3.1
bittensor-wallet>=3.0.4
bittensor-wallet>=3.0.7
async-substrate-interface>=1.0.4
Loading