Consensys / Tokens

Ethereum Token Contracts
MIT License
2.06k stars 1.19k forks source link

Question about test file #148

Open alien315 opened 5 years ago

alien315 commented 5 years ago

Just curious but in your test file you have:

// should approve max of msg.sender & withdraw 20 without changing allowance (should succeed).
it('approvals: msg.sender approves accounts[1] of max (2^256 - 1) & withdraws 20', async () => {

Why this test should succeed? is not a bug that a token holder can withdraw without changing the allowance?