Skip to content
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

TypeError: unsupported operand type(s) for -=: 'float' and 'decimal.Decimal' #9058

Closed
TARS-bot opened this issue May 20, 2024 · 0 comments
Closed

Comments

@TARS-bot
Copy link

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "/home/richard/.local/lib/python3.10/site-packages/electrum/gui/qt/history_list.py", line 675, in plot_history_dialog
    plt = plot_history(list(self.hm.transactions.values()))
  File "/home/richard/.local/lib/python3.10/site-packages/electrum/plot.py", line 37, in plot_history
    hist_out[datenum] -= value
TypeError: unsupported operand type(s) for -=: 'float' and 'decimal.Decimal'

TypeError: unsupported operand type(s) for -=: 'float' and 'decimal.Decimal'

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.4 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] Linux-6.5.0-35-generic-x86_64-with-glibc2.35 standard en_AU

Additional Information

The reporting user(s) did not provide additional information.

SomberNight added a commit to SomberNight/electrum that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant