> + fee, fee_expected, output_amount
> + Using value of coin['amount'] as decimal and removed 'int'
> + Removed unnecessary parentheses
> + Remove str() and use quotes
Note: integers can be converted to Decimal directly, without using a string.
Additional changes to fix obvious misuses of `Decimal`:
- In abc_rpc_avalancheproof.py, `dust_amount` was unneccesarily converted from a string to string via a Decimal. Use the string directly.
- In rpc_fundrawtransaction.py, use quote around the float value, to avoid loss of precision caused by intermediate float storage.
- In wallet_send.py, the tx size is an integer. Just use an integer division instead of creating an intermediate float and a Decimal.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/20039 | core#20039]]