Skip to content

Commit 0f2178a

Browse files
fix references IEntropy -> IEntropyV2
1 parent 5a25a03 commit 0f2178a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

entropy/coin_flip/contract/src/CoinFlip.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ contract CoinFlip is IEntropyConsumer {
3131
IEntropyV2 private entropy;
3232

3333
constructor(address _entropy) {
34-
entropy = IEntropy(_entropy);
34+
entropy = IEntropyV2(_entropy);
3535
}
3636

3737
// Request to flip a coin.

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)