From 46597dc1631730e760d90d8eb039ca5830ba0be8 Mon Sep 17 00:00:00 2001 From: michaeldiamant Date: Fri, 16 Dec 2022 13:44:15 -0500 Subject: [PATCH] Add LogicSig usage disclaimer --- algosdk/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algosdk/transaction.py b/algosdk/transaction.py index 3f891628..e25af8da 100644 --- a/algosdk/transaction.py +++ b/algosdk/transaction.py @@ -2507,7 +2507,7 @@ class LogicSig: """ Represents a logic signature - NOTE: LogicSig is safe for non-rekeying usage. If using rekeyed accounts, use LogicSigAccount instead. + NOTE: LogicSig cannot sign transactions in all cases. Instead, use LogicSigAccount as a safe, general purpose signing mechanism. Since LogicSig does not track the provided signature's public key, LogicSig cannot sign transactions when delegated to a non-multisig account _and_ the sender is not the delegating account. Arguments: logic (bytes): compiled program