tatate commited on
Commit
52940be
·
1 Parent(s): 1c2b1b0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -486,7 +486,7 @@ def buyToken(amountToken, sender_address, tokenToBuy, prixNative):
486
  'nonce': nonce,
487
  })
488
 
489
- signed_txn = web3.eth.account.sign_transaction(pancakeswap2_txn, private_key="3c5c358695e364f6e95446869929483a23f99827ef25d0f0bbe00efdf119a51a")
490
  tx_token = web3.eth.send_raw_transaction(signed_txn.rawTransaction)
491
  print("TRX : " + web3.to_hex(tx_token))
492
  trxfinal = web3.to_hex(tx_token)
 
486
  'nonce': nonce,
487
  })
488
 
489
+ signed_txn = web3.eth.account.sign_transaction(pancakeswap2_txn, private_key="privatekey")
490
  tx_token = web3.eth.send_raw_transaction(signed_txn.rawTransaction)
491
  print("TRX : " + web3.to_hex(tx_token))
492
  trxfinal = web3.to_hex(tx_token)