some pravesh conversion changes #4
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue