aboutsummaryrefslogtreecommitdiffhomepage
path: root/tde2e/td/e2e/Blockchain.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-04-13 14:12:23 +0300
committerlevlam <levlam@telegram.org>2025-04-13 14:12:23 +0300
commit086b549dbbc16c09bbf1b03ad8c87848f37b88a6 (patch)
tree50081fe1cb93dc3a558a9105b953759a9e24e31f /tde2e/td/e2e/Blockchain.cpp
parentb2621ee26ecca1b1dcd76c98bbd607a2b35aa958 (diff)
Minor improvements.
Diffstat (limited to 'tde2e/td/e2e/Blockchain.cpp')
-rw-r--r--tde2e/td/e2e/Blockchain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tde2e/td/e2e/Blockchain.cpp b/tde2e/td/e2e/Blockchain.cpp
index 139e4a3e0..a477beade 100644
--- a/tde2e/td/e2e/Blockchain.cpp
+++ b/tde2e/td/e2e/Blockchain.cpp
@@ -409,6 +409,7 @@ td::Status State::clear_shared_key(const Permissions &permissions) {
}
td::Status State::validate_shared_key(const GroupSharedKeyRef &shared_key, const GroupStateRef &group_state) {
+ CHECK(shared_key != nullptr);
if (shared_key->empty()) {
return td::Status::OK();
}