Skip to content
Snippets Groups Projects
Commit 8bb526e5 authored by Patricio Kumagae's avatar Patricio Kumagae
Browse files

Cambio en valor de gasPrice

parent af9060bd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment