We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209a327 commit 0fc5cbdCopy full SHA for 0fc5cbd
src/subcontexts/contract-context.ts
@@ -142,7 +142,7 @@ export class ContractContext {
142
const txns = [...(transactions ?? []), appTxn]
143
return lazyContext.txn.ensureScope(txns).execute(() => {
144
const returnValue = (orig as DeliberateAny).apply(target, args)
145
- if (isArc4 && returnValue !== undefined) {
+ if (!isProgramMethod && isArc4 && returnValue !== undefined) {
146
appTxn.logArc4ReturnValue(returnValue)
147
}
148
return returnValue
0 commit comments