Skip to content

Commit

Permalink
admin_public_key_bytes test
Browse files Browse the repository at this point in the history
  • Loading branch information
exploreriii committed Dec 15, 2024
1 parent fde9537 commit 15f3565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens/token_create_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def build_transaction_body(self):
raise ValueError("Missing required fields")

key = basic_types_pb2.Key(
ed25519=self.admin_key.to_bytes() if self.admin_key else None
ed25519=self.admin_key if self.admin_key else None
)

token_create_body = token_create_pb2.TokenCreateTransactionBody(
Expand Down

0 comments on commit 15f3565

Please sign in to comment.