Skip to content

Commit

Permalink
Merge pull request AmazingAng#627 from MuHongWeiWei/main
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
AmazingAng authored Feb 11, 2024
2 parents 1e8c0bc + 5697587 commit cff756b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 54_CrossChainBridge/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const main = async () => {
console.log(`Minted ${amount} tokens to ${user} on Chain Goerli`);
});

// 监听chain Sepolia的Bridge事件,然后在Goerli上执行mint操作,完成跨链
// 监听chain Goerli的Bridge事件,然后在Sepolia上执行mint操作,完成跨链
contractGoerli.on("Bridge", async (user, amount) => {
console.log(`Bridge event on Chain Goerli: User ${user} burned ${amount} tokens`);

Expand All @@ -164,10 +164,8 @@ const main = async () => {

console.log(`Minted ${amount} tokens to ${user} on Chain Sepolia`);
});

}catch(e){
} catch(e) {
console.log(e);

}
}

Expand Down

0 comments on commit cff756b

Please sign in to comment.