diff --git a/54_CrossChainBridge/readme.md b/54_CrossChainBridge/readme.md index c3f11eb25..45ed490e9 100644 --- a/54_CrossChainBridge/readme.md +++ b/54_CrossChainBridge/readme.md @@ -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`); @@ -164,10 +164,8 @@ const main = async () => { console.log(`Minted ${amount} tokens to ${user} on Chain Sepolia`); }); - - }catch(e){ + } catch(e) { console.log(e); - } }