You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with open('myPicture.jpg', 'rb') as file:
data_file = file.read()
transaction = Transaction(wallet, data=data_file)
transaction.sign()
c = transaction.send()
print(c)
`
9/10 times I get 'Connection reset by peer'. But during this 1 normal try I see some hash info like "yAq2A-AHCmXwyFSO_jzXNct_yPBUi8P3_ZdS_Dx3GoK7c3PGtg". But I don't see image in my ARDRIVE. What is a problem? What I do wrong?
The text was updated successfully, but these errors were encountered:
Hello!
I use this code
`
wallet_file_path = "mywallet.json"
wallet = arweave.Wallet(wallet_file_path)
with open('myPicture.jpg', 'rb') as file:
data_file = file.read()
`
9/10 times I get 'Connection reset by peer'. But during this 1 normal try I see some hash info like "yAq2A-AHCmXwyFSO_jzXNct_yPBUi8P3_ZdS_Dx3GoK7c3PGtg". But I don't see image in my ARDRIVE. What is a problem? What I do wrong?
The text was updated successfully, but these errors were encountered: