Commit 8bb526e5 authored by Patricio Kumagae's avatar Patricio Kumagae

Cambio en valor de gasPrice

parent af9060bd
......@@ -62,7 +62,9 @@ class TimestampManager(models.Manager):
contract = TimestampManager.get_current_contract()
return contract.functions.stamp(proof_hash, file_hash).transact({'from': Web3.toChecksumAddress(ACCOUNT_ADDRESS), 'gas': GAS, 'gasPrice': GAS_PRICE})
web3 = TimestampManager.get_provider()
return contract.functions.stamp(proof_hash, file_hash).transact({'from': Web3.toChecksumAddress(ACCOUNT_ADDRESS), 'gas': GAS, 'gasPrice': web3.eth.gasPrice})
@staticmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment