Skip to content

Commit

Permalink
chore: fix typos (ton-blockchain#980)
Browse files Browse the repository at this point in the history
Signed-off-by: snoppy <[email protected]>
  • Loading branch information
xiaoxianBoy authored Jun 27, 2024
1 parent c56e657 commit 2634e63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion adnl/adnl-ext-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ td::Status AdnlInboundConnection::process_custom_packet(td::BufferSlice &data, b
auto F = fetch_tl_object<ton_api::tcp_authentificate>(data.clone(), true);
if (F.is_ok()) {
if (nonce_.size() > 0 || !remote_id_.is_zero()) {
return td::Status::Error(ErrorCode::protoviolation, "duplicate authentificate");
return td::Status::Error(ErrorCode::protoviolation, "duplicate authenticate");
}
auto f = F.move_as_ok();
nonce_ = td::SecureString{f->nonce_.size() + 256};
Expand Down
2 changes: 1 addition & 1 deletion crypto/smc-envelope/ManualDns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ td::Result<td::Ref<vm::Cell>> DnsInterface::EntryData::as_cell() const {
return error;
}
if (res.is_null()) {
return td::Status::Error("Entry data is emtpy");
return td::Status::Error("Entry data is empty");
}
return res;
//dns_text#1eda _:Text = DNSRecord;
Expand Down
2 changes: 1 addition & 1 deletion tddb/td/db/utils/StreamInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace td {
// Generic stream interface
// Will to hide implementations details.
// CyclicBuffer, ChainBuffer, Bounded ChainBuffer, some clever writers. They all should be interchangable
// Most implementaions will assume that reading and writing may happen concurrently
// Most implementations will assume that reading and writing may happen concurrently

class StreamReaderInterface {
public:
Expand Down
2 changes: 1 addition & 1 deletion tddb/td/db/utils/StreamToFileActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Result<bool> StreamToFileActor::do_loop() {
// Also it could be useful to check error and stop immediately.
TRY_RESULT(is_closed, is_closed());

// Flush all data that is awailable on the at the beginning of loop
// Flush all data that is available on the at the beginning of loop
TRY_STATUS(do_flush_once());

if ((sync_at_ && sync_at_.is_in_past()) || is_closed) {
Expand Down

0 comments on commit 2634e63

Please sign in to comment.