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

updated smartcontract code

- updated smartcontract code
- fixed bug in liteserver listening socket
- updated documentation
This commit is contained in:
ton 2019-10-14 11:13:23 +04:00
parent 38c3e39066
commit b978e27b2f
63 changed files with 3185 additions and 81 deletions

View file

@ -20,6 +20,7 @@
#include "td/actor/actor.h"
#include "common/bitstring.h"
#include "common/errorcode.h"
#include "td/utils/buffer.h"
#include <functional>
@ -52,6 +53,9 @@ class AdnlQuery : public td::actor::Actor {
}
void tear_down() override {
destroy_(id_);
if (promise_) {
promise_.set_error(td::Status::Error(ErrorCode::cancelled, "Cancelled"));
}
}
private: