1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Re-enable encryption in tonlib (#727)

This commit is contained in:
SpyCheese 2023-06-09 14:49:18 +03:00 committed by GitHub
parent 69d3dcceb6
commit 954bebbaf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3940,9 +3940,9 @@ class GenericCreateSendGrams : public TonlibQueryActor {
} }
} }
// 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. if (!o_public_key) {
return TonlibError::MessageEncryption("Get public key (in destination)"); return TonlibError::MessageEncryption("Cannot get public key of destination (possibly unknown wallet type)");
// } }
auto addr = source_->get_address(); auto addr = source_->get_address();
addr.bounceable = true; addr.bounceable = true;