additional notes for the production ready code
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
3e380b6da7
commit
4d42442ad9
@ -59,6 +59,9 @@ contract Gatekeeper is IGatekeeper, Weaver, ReentrancyGuard {
|
||||
require(previousStorage != address(0));
|
||||
|
||||
storageHistory = previousStorage;
|
||||
// TODO: uncomment line below, needed only for testing purposes
|
||||
// This one should always drop the deployer.
|
||||
// deployer = address(0);
|
||||
deployer = IGatekeeper(_previousGatekeeperAddress).deployer();
|
||||
Weaver._initialize(_previousGatekeeperAddress);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user