[condenser bug fix] detailed payout info is not shown with 100% beneficiary

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@blockchainstudio·
0.000 HBD
[condenser bug fix] detailed payout info is not shown with 100% beneficiary
#### Project Information
* Repository: https://github.com/steemit/condenser
* Project Name: Steemit

Issue: https://github.com/steemit/condenser/issues/3450
PR: https://github.com/steemit/condenser/pull/3451

While the PO hasn't acknowledged this (busy for HF21 I guess), this bug is reproducible all the time. I also made a fix and submitted PR.

#### Expected behavior

Detailed payout info should still be shown when a post with 100% beneficiary is paid out.

#### Actual behavior

Detailed payout info is not shown when a post with 100% beneficiary is paid out.

#### How to reproduce
- Visit any post with 100% beneficiary, e.g., https://steemit.com/@blockchainstudio/finex-steem-power-liquify

* Browser/App version: Any
* Operating system: Any

#### Recording Of The Bug
![](https://user-images.githubusercontent.com/38183982/62007651-16cff580-b148-11e9-8f9c-852930c44f1d.png)

> https://steemit.com/@blockchainstudio/finex-steem-power-liquify
- There is no button to show detailed payout info

#### Cause and Fix
This is due a wrong nonzero payout check condition for paid out post.

![](https://cdn.steemitimages.com/DQmZpVsYNk8S1DQyBZ5puuptdWjG3hSCMzbQywVetJDvSkt)

- `total_author_payout` is set to zero with 100% beneficiary

- Thus, `payout` should be checked instead.
- In addition, `!cashout_active` is needed to avoid the info is also shown for pending posts.


![](https://user-images.githubusercontent.com/38183982/62007798-cb1e4b80-b149-11e9-9838-ccf4ab7382af.png)

> after fix is applied


Basically this will be more meaningful if beneficiary info is shown (which is also done by me https://github.com/steemit/condenser/pull/3310), but that PR is still pending for a long time :( Steemit may be busy for HF21.


#### GitHub Account
https://github.com/economicstud
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,