mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-17 22:47:49 +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)
|
signed_txn = web3.eth.account.sign_transaction(transaction, private_key)
|
||||||
|
|
||||||
# Envoi de la transaction
|
# 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))
|
print("Transaction hash:", web3.to_hex(tx_hash))
|
||||||
|
|
||||||
# Attente de la confirmation de la transaction
|
# Attente de la confirmation de la transaction
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user