(dividend)
| 688 | } |
| 689 | |
| 690 | function hasRemainingWithheld(dividend) { |
| 691 | return Number(new web3.utils.BN(dividend.dividendWithheld).sub(new web3.utils.BN(dividend.dividendWithheldReclaimed))).toFixed(10) > 0; |
| 692 | } |
| 693 | |
| 694 | async function selectDividend(dividends) { |
| 695 | let result = null; |
no outgoing calls
no test coverage detected