Remove grantTokens without vesting function

This commit is contained in:
Jorge Izquierdo
2017-02-10 16:18:36 +01:00
parent 917b129517
commit f305382ef4
2 changed files with 2 additions and 6 deletions

View File

@ -16,7 +16,7 @@ contract('GrantableToken', function(accounts) {
})
it('granter can grant tokens without vesting', async () => {
await token.grantTokens(receiver, tokenAmount, { from: granter })
await token.transfer(receiver, tokenAmount, { from: granter })
assert.equal(await token.balanceOf(receiver), tokenAmount);
assert.equal(await token.transferableTokens(receiver, +new Date()/1000), tokenAmount);