Skip to content

Commit da0124e

Browse files
committed
update comment
1 parent 0b08d29 commit da0124e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tronapi/trx.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,10 @@ def online_sign(self, transaction: dict):
493493
})
494494

495495
def sign(self, transaction: Any, use_tron: bool = True):
496-
"""Sign the transaction, the api has the risk of leaking the private key,
497-
please make sure to call the api in a secure environment
496+
"""Safe method for signing your transaction
498497
499498
Warnings:
500-
Do not use this in any web / user-facing applications.
501-
This will expose the private key.
499+
method: online_sign() - Use only in extreme cases.
502500
503501
Args:
504502
transaction (Any): transaction details

0 commit comments

Comments
 (0)