diff --git a/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc b/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc index fdb57ef4..800bbb31 100644 --- a/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc +++ b/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc @@ -266,7 +266,7 @@ tuple setEnforcedOptions(cell $optionsExtended) impure inline method_id { tuple setLzConfig(cell $config) impure inline method_id { (_, tuple actions) = preamble(); - ;; we use the send path here becuase the send path is used to derive the channel address + ;; we use the send path here because the send path is used to derive the channel address ;; and the channel is used to configure both send and receive configs cell $sendPath = $config.cl::get(lz::Config::path); _assertSendPath($sendPath); @@ -539,4 +539,4 @@ tuple nilify(cell $packetId) impure inline method_id { ); return actions; -} \ No newline at end of file +} diff --git a/packages/layerzero-v2/ton/src/protocol/controller/handler.fc b/packages/layerzero-v2/ton/src/protocol/controller/handler.fc index 2eaf1873..1675117c 100644 --- a/packages/layerzero-v2/ton/src/protocol/controller/handler.fc +++ b/packages/layerzero-v2/ton/src/protocol/controller/handler.fc @@ -337,7 +337,7 @@ tuple setZroWallet(cell $setAddress) impure inline method_id { } ;; This will override an existing tentative owner -;; Becuase we assert that the 'claimOwnership' can't be done by the 'null' address, it means +;; Because we assert that the 'claimOwnership' can't be done by the 'null' address, it means ;; if we want to burn the ownership, we will need to set it to a contract which only has ability to ;; claim, but nothing else. This effectively burns it. tuple transferOwnership(cell $setAddress) impure inline { diff --git a/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc b/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc index 3ee622b4..10f56652 100644 --- a/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc +++ b/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc @@ -69,7 +69,7 @@ tuple BytesEncoder::feed(tuple self, slice data) impure inline { ;; data to the next item in the list. ifnot (data.slice_refs_empty?()) { - ;; if the current builder is full add a new builer on the tuple stack + ;; if the current builder is full add a new builder on the tuple stack if (fillsCurrentBuilder) { self = self.tpush(begin_cell()); }