You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling from the client using "acl.send_transaction(lstx)", repeat this twice.
In the block where Txn.first_valid() % tmpl_period == Int(0), this transaction gets executed twice.
Expected behaviour
Single paying (some code should prevent the transaction from running twice within a block).
This could be an assertion that last succesful transaction was more than a block ago.
Actual behaviour
Double-paying within the same period.
The text was updated successfully, but these errors were encountered:
Subject of the issue
The example smart signature https://github.com/algorand/pyteal/blob/master/examples/signature/periodic_payment.py can be called twice in the same block, thus double-paying the intended amount.
Your environment
Same as the example.
Steps to reproduce
Expected behaviour
Single paying (some code should prevent the transaction from running twice within a block).
This could be an assertion that last succesful transaction was more than a block ago.
Actual behaviour
Double-paying within the same period.
The text was updated successfully, but these errors were encountered: