Skip to content

Commit 640ff61

Browse files
committed
cleanup docs
1 parent b07c73e commit 640ff61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

convex_api/account.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def public_key_checksum(self):
352352
def create():
353353
"""
354354
355-
Create a new account with a random key and address.
355+
Create a new account with a random key and an empty address.
356356
357357
:returns: New Account object
358358
:rtype: Account
@@ -361,6 +361,8 @@ def create():
361361
362362
>>> # create an account with no address
363363
>>> account = Account.create()
364+
>> account.is_address
365+
False
364366
365367
>>> # create two accounts with the same public/private keys
366368
>>> account_1 = convex_api.create_account(account)
@@ -372,6 +374,7 @@ def create():
372374
43
373375
374376
377+
375378
"""
376379
return Account(Ed25519PrivateKey.generate())
377380

0 commit comments

Comments
 (0)