diff --git a/silkaj/tx.py b/silkaj/tx.py index 9e39fc96a7d59fd76f9bab803fa55b6940436cc6..7476821585f17f3e068d5b2185ea779516d9e05d 100644 --- a/silkaj/tx.py +++ b/silkaj/tx.py @@ -17,7 +17,7 @@ along with Silkaj. If not, see <https://www.gnu.org/licenses/>. from re import compile, search import math -from time import sleep +from asyncio import sleep from tabulate import tabulate from click import command, option, FloatRange @@ -286,7 +286,7 @@ async def handle_intermediaries_transactions( [issuers], "Change operation", ) - sleep(1) # wait 1 second before sending a new transaction + await sleep(1) # wait 1 second before sending a new transaction else: await generate_and_send_transaction(