Skip to content

Commit b1e96ec

Browse files
fix IEntropy -> IEntropyV2
1 parent b0c7590 commit b1e96ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entropy/growing/contract/contracts/NFTGrowth.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ event NftGrowthRequested(
5959
);
6060

6161
contract NFTGrowth is NFT, IEntropyConsumer {
62-
IEntropy entropy;
62+
IEntropyV2 entropy;
6363
uint256 maxLevel = 5;
6464
uint256 successChance = 4000;
6565
uint256 failChance = 4000;
@@ -72,7 +72,7 @@ contract NFTGrowth is NFT, IEntropyConsumer {
7272
mapping(uint256 => NFTLock) public nftLock;
7373

7474
constructor(address _entropy) {
75-
entropy = IEntropy(_entropy);
75+
entropy = IEntropyV2(_entropy);
7676
}
7777

7878
function requireLock(uint256 tokenId) private view {

0 commit comments

Comments
 (0)