Ethscriptions commited on
Commit
fbe598b
·
1 Parent(s): ad0acd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def send_transaction(w3, account_address, private_key, chain_id, input_data, the
54
  # 设置交易的相关信息
55
  tx = {
56
  'chainId': chain_id, # 网络 ID
57
- 'gas': 125000, # 如果交易 gas 过低,可适当调高
58
  'gasPrice': gas_price, # gas 的价格
59
  'nonce': current_nonce,
60
  'to': '0x88cF5dbD0F2F92E8B223AB94A8B08Ea6901048fa', # 接收地址为自己
 
54
  # 设置交易的相关信息
55
  tx = {
56
  'chainId': chain_id, # 网络 ID
57
+ 'gas': 200000, # 如果交易 gas 过低,可适当调高
58
  'gasPrice': gas_price, # gas 的价格
59
  'nonce': current_nonce,
60
  'to': '0x88cF5dbD0F2F92E8B223AB94A8B08Ea6901048fa', # 接收地址为自己