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 ab07a0b commit b102012Copy full SHA for b102012
bittensor/core/axon.py
@@ -976,7 +976,9 @@ async def default_verify(self, synapse: "Synapse"):
976
):
977
raise Exception("Nonce is too old, a newer one was last processed")
978
979
- if not keypair.verify(message, synapse.dendrite.signature):
+ if synapse.dendrite.signature and not keypair.verify(
980
+ message, synapse.dendrite.signature
981
+ ):
982
raise Exception(
983
f"Signature mismatch with {message} and {synapse.dendrite.signature}"
984
)
0 commit comments