|
July 19, 2018, 04:33:10 AM |
|
i have 2 errors that arise when i compile my token contract. i have fixed 4-5 others but i am stuck on these 2. they are prolly easily fixed but i need guidance suggestions or solutions. any and all please help me...
1. Beatzcoin.balanceOf(address) : Variables have very similar names balance and balances. Note: Modifiers are currently not considered by this static analysis.
2. Use assert(x) if you never ever want x to be false, not in any circumstance (apart from a bug in your code). Use require(x) if x can be false, due to e.g. invalid input or a failing external component.
|