From 2cd180d156ffa11a88b8aaf38347fb397b9aa1c5 Mon Sep 17 00:00:00 2001 From: tolya-yanot Date: Mon, 2 Aug 2021 00:02:06 +0300 Subject: [PATCH] Temporary disable msg comment encryption (The exchanges/payment services needs to read the comment of incoming messages) --- tonlib/tonlib/TonlibClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tonlib/tonlib/TonlibClient.cpp b/tonlib/tonlib/TonlibClient.cpp index 8b900b65..e93491a9 100644 --- a/tonlib/tonlib/TonlibClient.cpp +++ b/tonlib/tonlib/TonlibClient.cpp @@ -3051,9 +3051,9 @@ class GenericCreateSendGrams : public TonlibQueryActor { } } - if (!o_public_key) { +// if (!o_public_key) { // todo: (tolya-yanot) temporary disable msg comment encryption (The exchanges/payment services needs to read the comment of incoming messages). This will be uncommented when a general standard is developed. return TonlibError::MessageEncryption("Get public key (in destination)"); - } +// } auto addr = source_->get_address(); addr.bounceable = true;