(a, b)
| 253 | |
| 254 | // function for adding two numbers. Easy! |
| 255 | const add = (a, b) => { |
| 256 | const bnA = new web3.utils.BN(a); |
| 257 | const bnB = new web3.utils.BN(b); |
| 258 | return bnA.add(bnB).toString(); |
| 259 | }; |
| 260 | // use reduce to sum our array |
| 261 | let taxesToWithHeld = withheldArray.reduce(add, 0); |
| 262 | let claimedInvestors = claimedArray.filter(c => c).length; |
nothing calls this directly
no outgoing calls
no test coverage detected