mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 05:57:48 +01:00
fix
This commit is contained in:
parent
ce97afabc0
commit
b555c25277
@ -147,7 +147,7 @@ def write_data(player_list, winner):
|
||||
signed_txn = web3.eth.account.sign_transaction(transaction, private_key)
|
||||
|
||||
# Envoi de la transaction
|
||||
tx_hash = web3.eth.send_raw_transaction(signed_txn.rawTransaction)
|
||||
tx_hash = web3.eth.send_raw_transaction(signed_txn.raw_transaction)
|
||||
print("Transaction hash:", web3.to_hex(tx_hash))
|
||||
|
||||
# Attente de la confirmation de la transaction
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user