Skip to content

Commit

Permalink
Merge pull request #629 from MuHongWeiWei/main
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng authored Feb 16, 2024
2 parents cff756b + 58f2821 commit 384fa22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 54_CrossChainBridge/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ tags:

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand All @@ -77,7 +77,7 @@ contract CrossChainToken is ERC20, Ownable {
string memory name,
string memory symbol,
uint256 totalSupply
) payable ERC20(name, symbol) {
) payable ERC20(name, symbol) Ownable(msg.sender) {
_mint(msg.sender, totalSupply);
}
Expand Down

0 comments on commit 384fa22

Please sign in to comment.