From 0bd9314bb9ab59164a9fdc7e825a83c0f702f134 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Mon, 24 Oct 2022 20:14:17 +0200 Subject: [PATCH] chore(core): Do not check total mining fee in CoinJoin. --- core/src/apps/bitcoin/sign_tx/approvers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/apps/bitcoin/sign_tx/approvers.py b/core/src/apps/bitcoin/sign_tx/approvers.py index fce1162db..32da8e11b 100644 --- a/core/src/apps/bitcoin/sign_tx/approvers.py +++ b/core/src/apps/bitcoin/sign_tx/approvers.py @@ -481,9 +481,6 @@ class CoinJoinApprover(Approver): # The mining fee of the transaction as a whole. mining_fee = self.total_in - self.total_out - if mining_fee > max_fee_per_vbyte * self.weight.get_virtual_size(): - raise wire.ProcessError("Mining fee over threshold") - # The maximum mining fee that the user should be paying. our_max_mining_fee = max_fee_per_vbyte * self.our_weight.get_virtual_size()