mirror of https://github.com/nucypher/nucypher.git
Gas strategy is ignored if a gas price is explicitly added. Just don't.
parent
1471a6bf9f
commit
7952e3595a
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue