From 66099ccc6c608e431c64edc598619015cf527419 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Mon, 30 Oct 2023 20:49:40 +0300 Subject: [PATCH] test: fix `feature_governance.py` --- test/functional/feature_governance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_governance.py b/test/functional/feature_governance.py index 7456a59d329c..b790eadbfd7d 100755 --- a/test/functional/feature_governance.py +++ b/test/functional/feature_governance.py @@ -202,7 +202,7 @@ def run_test(self): wait_until(lambda: len(self.nodes[0].gobject("list", "valid", "triggers")) == 1, timeout=5) # Make sure amounts aren't trimmed - payment_amounts_expected = [str(satoshi_round(str(p0_amount))), str(satoshi_round(str(p1_amount))), str(satoshi_round(str(p2_amount)))] + payment_amounts_expected = [str(satoshi_round(str(self.p0_amount))), str(satoshi_round(str(self.p1_amount))), str(satoshi_round(str(self.p2_amount)))] data_string = list(self.nodes[0].gobject("list", "valid", "triggers").values())[0]["DataString"] payment_amounts_trigger = json.loads(data_string)["payment_amounts"].split("|") for amount_str in payment_amounts_trigger: