makoto / blockparty

NO BLOCK NO PARTY
MIT License
164 stars 41 forks source link

Handle undividable leftover deposit #14

Open makoto opened 8 years ago

makoto commented 8 years ago

When 4 deposits are split by 3 people, the division becomes 1.3333.... which leaves small portion into the contract and make contract balance inconsistent with the actual balance.

The solution would be