js-algorand-sdk
js-algorand-sdk copied to clipboard
Grouped transactions failing with “empty txgroup” when signed using signLogicSigTransactionObject
I'm trying to group the transactions and one of the transactions is signed using logic signature.
- Transaction 1 (signed using private key)
- Transaction 2 (signed using LogicSig)
If i Group these transactions, then it is failing with “empty txgroup” error. This issue is reproducible only when one of the grouped transactions is signed using LogicSig.
rawSignedTxn = sdk.signLogicSigTransactionObject(unsignedTransaction, lsig);
The workaround for this is:
rawSignedTxn = sdk.signLogicSigTransactionObject(unsignedTransaction, lsig).blob;
Hi, @algodesk-io, thanks for reporting this! Can you please supply a minimal code snippet reproducing the problem, so I can see how computeGroupID
etc are used? Thanks again!