mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-05 13:26:57 +00:00
chore(core): Do not check total mining fee in CoinJoin.
This commit is contained in:
parent
c41ccdca76
commit
0bd9314bb9
@ -481,9 +481,6 @@ class CoinJoinApprover(Approver):
|
|||||||
# The mining fee of the transaction as a whole.
|
# The mining fee of the transaction as a whole.
|
||||||
mining_fee = self.total_in - self.total_out
|
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.
|
# The maximum mining fee that the user should be paying.
|
||||||
our_max_mining_fee = max_fee_per_vbyte * self.our_weight.get_virtual_size()
|
our_max_mining_fee = max_fee_per_vbyte * self.our_weight.get_virtual_size()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user