From b7bb37ea51905026b8900dd80639cbe07621ae59 Mon Sep 17 00:00:00 2001 From: James Prestwich Date: Tue, 2 Feb 2021 11:34:56 -0800 Subject: [PATCH] opt: don't sload in Home constructor --- solidity/contracts/Home.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/contracts/Home.sol b/solidity/contracts/Home.sol index ac8deffb7..c96438f8b 100644 --- a/solidity/contracts/Home.sol +++ b/solidity/contracts/Home.sol @@ -29,7 +29,7 @@ contract Home is MerkleTreeManager, QueueManager, Common { Common(_originSLIP44, address(0), bytes32(0)) { sortition = ISortition(_sortition); - updater = sortition.current(); + updater = ISortition(_sortition).current(); } function fail() internal override {