Merge pull request #96 from status-im/sgtOwned
Sgt Controller should not be SGT exchange.
This commit is contained in:
commit
4d262017b7
|
@ -141,7 +141,6 @@ contract StatusContribution is Owned, TokenController {
|
|||
destTokensSecondarySale = _destTokensSecondarySale;
|
||||
|
||||
require(_sgt != 0x0);
|
||||
require(MiniMeToken(_sgt).controller() == _destTokensSgt);
|
||||
SGT = MiniMeToken(_sgt);
|
||||
|
||||
require(_destTokensSgt != 0x0);
|
||||
|
|
|
@ -70,7 +70,6 @@ contract("StatusContribution", (accounts) => {
|
|||
sgtExchanger.address);
|
||||
|
||||
await snt.changeController(statusContribution.address);
|
||||
await sgt.changeController(sgtExchanger.address);
|
||||
|
||||
await statusContribution.initialize(
|
||||
snt.address,
|
||||
|
|
|
@ -72,7 +72,6 @@ contract("StatusContribution", (accounts) => {
|
|||
sgtExchanger.address);
|
||||
|
||||
await snt.changeController(statusContribution.address);
|
||||
await sgt.changeController(sgtExchanger.address);
|
||||
|
||||
await statusContribution.initialize(
|
||||
snt.address,
|
||||
|
@ -95,7 +94,6 @@ contract("StatusContribution", (accounts) => {
|
|||
|
||||
it("Check initial parameters", async () => {
|
||||
assert.equal(await snt.controller(), statusContribution.address);
|
||||
assert.equal(await sgt.controller(), sgtExchanger.address);
|
||||
});
|
||||
|
||||
it("Checks that no body can buy before the sale starts", async () => {
|
||||
|
|
|
@ -193,7 +193,7 @@ contract("DynamicCeiling", (accounts) => {
|
|||
web3.sha3("pwd0"),
|
||||
web3.sha3("pwd1"),
|
||||
web3.sha3("pwd2"),
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
assert.equal(await dynamicCeiling.currentIndex(), 0);
|
||||
|
|
Loading…
Reference in New Issue