1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00

chore(core): Do not check total mining fee in CoinJoin.

This commit is contained in:
Andrew Kozlik 2022-10-24 20:14:17 +02:00 committed by Andrew Kozlik
parent c41ccdca76
commit 0bd9314bb9

View File

@ -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()