some pravesh conversion changes #4

Merged
paveenpaul merged 1 commits from dev/in-progress into main 2025-05-23 12:19:18 +00:00
1 changed files with 28 additions and 24 deletions

View File

@ -422,6 +422,10 @@ class Conversion:
if obj.User_preference !="MNF": if obj.User_preference !="MNF":
tx_id, tx_gas_fee = UploadConversionData(OWNER_KEY, blockchain_obj.publicKey, UserId, str(Project), tx_id, tx_gas_fee = UploadConversionData(OWNER_KEY, blockchain_obj.publicKey, UserId, str(Project),
Data) Data)
if tx_id == False:
obj.User_preference = "MNF"
obj.save()
else:
print("Tx id -> ", tx_id,tx_gas_fee) print("Tx id -> ", tx_id,tx_gas_fee)
print(type(tx_id)) print(type(tx_id))