From 2baae1d961a72640cc1950bbaecc9b9537dbd521 Mon Sep 17 00:00:00 2001 From: Diego del Corral Tercero <55594560+hidiego@users.noreply.github.com> Date: Tue, 16 Nov 2021 08:16:35 +0100 Subject: [PATCH] Fix test deposittovault: (#900) Add missing sync_blocks call Co-authored-by: Prasanna Loganathar --- test/functional/feature_loan_deposittovault.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/feature_loan_deposittovault.py b/test/functional/feature_loan_deposittovault.py index ba7b058a1c..9d1701f67f 100755 --- a/test/functional/feature_loan_deposittovault.py +++ b/test/functional/feature_loan_deposittovault.py @@ -198,6 +198,8 @@ def run_test(self): assert_equal(vault1['state'], "frozen") self.nodes[0].generate(6) # let fixed price be stable and check vault is now underLiquidation state + self.sync_blocks() + vault1 = self.nodes[1].getvault(vaultId1) assert_equal(vault1['state'], "inLiquidation")