Skip to content

Commit 86e6726

Browse files
Report error to correct promise in tonlib dns request (#1622)
Co-authored-by: ice-charon <[email protected]>
1 parent 56506ae commit 86e6726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tonlib/tonlib/TonlibClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5043,7 +5043,7 @@ void TonlibClient::do_dns_request(std::string name, td::Bits256 category, td::in
50435043
return;
50445044
}
50455045

5046-
TRY_RESULT_PROMISE(promise, args, ton::DnsInterface::resolve_args(name, category, address));
5046+
TRY_RESULT_PROMISE(new_promise, args, ton::DnsInterface::resolve_args(name, category, address));
50475047
int_api::RemoteRunSmcMethod query;
50485048
query.address = std::move(address);
50495049
query.args = std::move(args);

0 commit comments

Comments
 (0)