-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Fee amount is not listed correctly in wallet #15406
Comments
This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days. |
Please keep this issue open. |
Post to keep this issue open |
This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days. |
Keep issue open. |
Post to keep this issue open |
What happened?
For
chia rpc wallet get_farmed_amount
the fees are calculated on the fly and listed correctly.But for other commands like
chia rpc wallet get_transactions '{"wallet_id": 1}'
orchia wallet get_transactions
the
fee_amount
is always zero, but shown as part of the actualamount
.This is already the case in the wallet db table
transaction_record
:I've found the following code lines where the
fee_amount
is hard coded to 0 when preparing the transaction record for the insert:https://github.com/Chia-Network/chia-blockchain/blob/d36703337a9164ad36ab15772e85ae2cf7ebfc34/chia/wallet/wallet_state_manager.py#LL1158-L1158
https://github.com/Chia-Network/chia-blockchain/blob/d36703337a9164ad36ab15772e85ae2cf7ebfc34/chia/wallet/wallet_state_manager.py#LL1175-L1175
https://github.com/Chia-Network/chia-blockchain/blob/d36703337a9164ad36ab15772e85ae2cf7ebfc34/chia/wallet/wallet_state_manager.py#LL1219-L1219
https://github.com/Chia-Network/chia-blockchain/blob/d36703337a9164ad36ab15772e85ae2cf7ebfc34/chia/wallet/wallet_state_manager.py#LL1501-L1501
Version
1.8.1
What platform are you using?
Linux
What ui mode are you using?
CLI
Relevant log output
No response
The text was updated successfully, but these errors were encountered: