dev@locazia: make response instant
This commit is contained in:
1 parent
a41aa9895c
commit
ee5079c062
1 file changed
+2
-2
@@ -87,7 +87,7 @@ async def s_api_v1_blockchain_send_new_content_message(request):
|
||||
)
|
||||
i += 1
|
||||
|
||||
await ton_connect._sdk_client.send_transaction({
|
||||
request.app.add_task(ton_connect._sdk_client.send_transaction({
|
||||
'valid_until': int(datetime.now().timestamp() + 120),
|
||||
'messages': [
|
||||
{
|
||||
@@ -131,7 +131,7 @@ async def s_api_v1_blockchain_send_new_content_message(request):
|
||||
).decode()
|
||||
}
|
||||
]
|
||||
})
|
||||
}))
|
||||
|
||||
return response.json({"message": "Transaction requested"})
|
||||
except BaseException as e:
|
||||
|
||||
Reference in new issue
Block a user