Rename Token version variable

This commit is contained in:
Gerardo Nardelli 2018-09-18 10:36:06 -03:00
parent 75af893dc8
commit efd3796134
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ contract ERC677BridgeToken is
BurnableToken,
MintableToken {
Version.Version public getBridgeInterfacesVersion = Version.Version(1, 0, 0);
Version.Version public getTokenInterfacesVersion = Version.Version(1, 0, 0);
constructor(
string _name,

View File

@ -26,7 +26,7 @@ contract('ERC677BridgeToken', async (accounts) => {
const mintingFinished = await token.mintingFinished();
assert.equal(mintingFinished, false);
const [major, minor, patch] = await token.getBridgeInterfacesVersion()
const [major, minor, patch] = await token.getTokenInterfacesVersion()
major.should.be.bignumber.gte(0)
minor.should.be.bignumber.gte(0)
patch.should.be.bignumber.gte(0)