From 6970482e77bb9a385afa0a5763c9b56b743649d9 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Sat, 9 Mar 2024 16:58:21 -0600 Subject: [PATCH] GH-2125 Call getTransactionStatus after getInfo as LIB can move between the two calls --- tests/trx_finality_status_forked_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/trx_finality_status_forked_test.py b/tests/trx_finality_status_forked_test.py index 35ee643e96..d1b09b54a7 100755 --- a/tests/trx_finality_status_forked_test.py +++ b/tests/trx_finality_status_forked_test.py @@ -169,6 +169,7 @@ def getBlockNum(status): Print("Repeatedly check status looking for forked out state until after LIB moves and defproducerd") while True: + info = prodD.getInfo() retStatus = prodD.getTransactionStatus(transId) state = getState(retStatus) blockNum = getBlockNum(retStatus)