Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc
Original file line number Diff line number Diff line change
Expand Up @@ -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<objRef>(lz::Config::path);
_assertSendPath($sendPath);
Expand Down Expand Up @@ -539,4 +539,4 @@ tuple nilify(cell $packetId) impure inline method_id {
);

return actions;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down