fix blockchain prices

This commit is contained in:
user 2024-08-31 08:35:06 +03:00
parent 032c407f13
commit b87f4848d1
1 changed files with 3 additions and 2 deletions

View File

@ -103,8 +103,8 @@ async def s_api_v1_blockchain_send_new_content_message(request):
begin_cell()
.store_ref(
begin_cell()
.store_coins(int(800000000 * 10 ** 9))
.store_coins(int(800000000 * 10 ** 9))
.store_coins(int(30000000))
.store_coins(int(30000000))
.store_coins(int(request.json['price']))
.end_cell()
)
@ -165,6 +165,7 @@ async def s_api_v1_blockchain_send_purchase_content_message(request):
# 'resale': 3
# }[request.json['license_type']], 8)
.store_uint(0, 256)
.store_coins(str(int(licenses_cost['resale']['price'])))
.end_cell()
).to_boc(False)).decode()
})