Gas strategy is ignored if a gas price is explicitly added. Just don't.

pull/2154/head
David Núñez 2020-07-24 01:52:56 +02:00
parent 1471a6bf9f
commit 7952e3595a
2 changed files with 2 additions and 4 deletions

View File

@ -486,8 +486,7 @@ class BlockchainInterface:
base_payload = {'chainId': int(self.client.chain_id),
'nonce': self.client.w3.eth.getTransactionCount(sender_address, 'pending'),
'from': sender_address,
'gasPrice': self.client.gas_price}
'from': sender_address}
# Aggregate
if not payload:

View File

@ -341,8 +341,7 @@ class Felix(Character, NucypherTokenActor):
ether = self.ETHER_AIRDROP_AMOUNT
transaction = {'to': recipient_address,
'from': self.checksum_address,
'value': ether,
'gasPrice': self.blockchain.client.gas_price}
'value': ether}
transaction_dict = self.blockchain.build_payload(sender_address=self.checksum_address,
payload=transaction,