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

QT wallet: proper display of state open block in GUI history #4744

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion nano/qt/qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ class short_text_visitor : public nano::block_visitor
{
auto balance (block_a.hashables.balance.number ());
auto previous_balance = ledger.any.block_balance (transaction, block_a.hashables.previous);
if (!previous_balance)
if (!block_a.hashables.previous.is_zero () && !previous_balance)
SergiySW marked this conversation as resolved.
Show resolved Hide resolved
{
type = "Unknown (pruned)";
amount = 0;
Expand Down
Loading