Skip to content

Commit

Permalink
style: black
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonyjin committed Nov 12, 2024
1 parent 249c322 commit e82fe24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/aleph/vm/orchestrator/views/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
from jwcrypto import jwk
from jwcrypto.jwa import JWA
from nacl.exceptions import BadSignatureError
from pydantic import (BaseModel, ValidationError, ValidationInfo,
field_validator, model_validator)
from pydantic import BaseModel, ValidationError, ValidationInfo, field_validator, model_validator
from solathon.utils import verify_signature

from aleph.vm.conf import settings
Expand Down Expand Up @@ -122,7 +121,7 @@ def check_signature(values) -> SignedPubKeyHeader:
content = SignedPubKeyPayload.model_validate_json(payload)
check_wallet_signature_or_raise(content.address, content.chain, payload, signature)
return values

@property
def content(self) -> SignedPubKeyPayload:
"""Return the content of the header"""
Expand Down

0 comments on commit e82fe24

Please sign in to comment.