Created
February 6, 2020 09:20
-
-
Save DylanVerstraete/2ff76dc605417a4eaf0445e2f9155981 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for co in tx.coin_outputs: | |
lock_time = co.condition.lock.value | |
if time.time() < lock_time: | |
# make timelocked tx | |
try: | |
converter.transfer_locked_funds(stellar_address, co.value, asset, co.condition.lock.value) | |
except Exception as e: | |
raise e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment