From a34c34991f67b59bd99e9988a4715e22a8d087ea Mon Sep 17 00:00:00 2001 From: sstovbyra Date: Mon, 22 May 2023 23:27:42 +0300 Subject: [PATCH] Update payment_neogo.py --- src/frostfs_testlib/steps/payment_neogo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frostfs_testlib/steps/payment_neogo.py b/src/frostfs_testlib/steps/payment_neogo.py index 07dddd28..6a64a5a5 100644 --- a/src/frostfs_testlib/steps/payment_neogo.py +++ b/src/frostfs_testlib/steps/payment_neogo.py @@ -79,7 +79,8 @@ def transaction_accepted(main_chain: MainChain, tx_id: str): try: for _ in range(0, TX_PERSIST_TIMEOUT): time.sleep(1) - resp = main_chain.rpc_client.get_transaction_height(tx_id) + neogo = NeoGo(shell=main_chain.host.get_shell(), neo_go_exec_path=NEOGO_EXECUTABLE) + resp = neogo.query.tx(tx_hash=tx_id, rpc_endpoint=main_chain.get_endpoint()) if resp is not None: logger.info(f"TX is accepted in block: {resp}") return True, resp