From e885bd29917f25250f35a53d397d35fafbf9bf65 Mon Sep 17 00:00:00 2001 From: Boris Oncev Date: Tue, 6 May 2025 20:08:19 +0200 Subject: [PATCH] fix wallet functional test, add sync after new block --- test/functional/wallet_get_address_usage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/wallet_get_address_usage.py b/test/functional/wallet_get_address_usage.py index 1311044be7..14cfd9517f 100644 --- a/test/functional/wallet_get_address_usage.py +++ b/test/functional/wallet_get_address_usage.py @@ -154,6 +154,9 @@ async def async_test(self): assert_in("The transaction was submitted successfully", await wallet.create_stake_pool(stake_pool_amount, 0, 0.5, decommission_address)) self.generate_block() + # sync the wallet + output = await wallet.sync() + assert_in("Success", output) expected_output = """+-------+---------+----------------------------------------------+--------------------------------+ | Index | Purpose | Address | Is used in transaction history | Coins