mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
pow-testgiver support
This commit is contained in:
parent
dbde9c1c40
commit
f064b1047a
257 changed files with 6665 additions and 2608 deletions
|
@ -95,7 +95,7 @@ int main() {
|
|||
auto decode_encode = [](auto obj_json) {
|
||||
auto as_json_value = td::json_decode(obj_json).move_as_ok();
|
||||
ton::ton_api::object_ptr<ton::ton_api::Object> obj2;
|
||||
from_json(obj2, as_json_value).ensure();
|
||||
from_json(obj2, std::move(as_json_value)).ensure();
|
||||
CHECK(obj2 != nullptr);
|
||||
return td::json_encode<std::string>(td::ToJson(obj2));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue