diff --git a/test/functional/feature_governance.py b/test/functional/feature_governance.py index 149fb08460cbd..3c70cd2a1e66b 100755 --- a/test/functional/feature_governance.py +++ b/test/functional/feature_governance.py @@ -62,14 +62,14 @@ def check_superblock(self): coinbase_outputs = self.nodes[0].getblock(self.nodes[0].getbestblockhash(), 2)["tx"][0]["vout"] payments_found = 0 for txout in coinbase_outputs: - if txout["value"] == satoshi_round(str(self.p0_amount)) and txout["scriptPubKey"]["addresses"][0] == self.p0_payout_address: + if txout["value"] == self.p0_amount and txout["scriptPubKey"]["addresses"][0] == self.p0_payout_address: payments_found += 1 - if txout["value"] == satoshi_round(str(self.p1_amount)) and txout["scriptPubKey"]["addresses"][0] == self.p1_payout_address: + if txout["value"] == self.p1_amount and txout["scriptPubKey"]["addresses"][0] == self.p1_payout_address: if self.p1_hash > self.p2_hash: payments_found += 1 else: assert False - if txout["value"] == satoshi_round(str(self.p2_amount)) and txout["scriptPubKey"]["addresses"][0] == self.p2_payout_address: + if txout["value"] == self.p2_amount and txout["scriptPubKey"]["addresses"][0] == self.p2_payout_address: if self.p2_hash > self.p1_hash: payments_found += 1 else: