From 5b9d9ed22933c981a93231f91d4ae9a76efbd8e7 Mon Sep 17 00:00:00 2001 From: sellskin Date: Mon, 25 Mar 2024 10:43:19 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: sellskin --- apps/bridge-evm/tasks/index.ts | 4 ++-- layerzero/sources/endpoint.move | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/bridge-evm/tasks/index.ts b/apps/bridge-evm/tasks/index.ts index 335ab8e..26acf97 100644 --- a/apps/bridge-evm/tasks/index.ts +++ b/apps/bridge-evm/tasks/index.ts @@ -15,10 +15,10 @@ task("mint", "", require("./mint")).addParam("t", "token type", "ETH").addParam( task("wireAll", "", require("./wireAll")) .addParam("e", "the environment ie: mainnet, testnet or sandbox", "sandbox") - .addOptionalParam("srcNetworks", "comma seperated list of networks to config on", "goerli-sandbox", types.string) + .addOptionalParam("srcNetworks", "comma separated list of networks to config on", "goerli-sandbox", types.string) .addParam("noPrompt", "no prompt", false, types.boolean) subtask("wireAllSubtask", "", require("./wireAll")) .addParam("e", "the environment ie: mainnet, testnet or sandbox", "sandbox") - .addParam("srcNetworks", "comma seperated list of networks to config on", "goerli-sandbox", types.string) + .addParam("srcNetworks", "comma separated list of networks to config on", "goerli-sandbox", types.string) .addParam("noPrompt", "no prompt", false, types.boolean) diff --git a/layerzero/sources/endpoint.move b/layerzero/sources/endpoint.move index 35e68e4..a80a868 100644 --- a/layerzero/sources/endpoint.move +++ b/layerzero/sources/endpoint.move @@ -271,13 +271,13 @@ module layerzero::endpoint { let version = msglib_cap::receive_version(cap); msglib_config::assert_receive_msglib(ua_address, src_chain_id, version); - // assert the packet is targetting at the UA + // assert the packet is targeting at the UA assert!( packet::dst_address(&packet) == bcs::to_bytes(&ua_address), error::invalid_argument(ELAYERZERO_INVALID_DST_ADDRESS), ); - // assert the packet is targetting at this chain + // assert the packet is targeting at this chain assert!( packet::dst_chain_id(&packet) == get_local_chain_id(), error::invalid_argument(ELAYERZERO_INVALID_CHAIN_ID)