Replies: 1 comment 1 reply
-
|
Hi guys. I fixed it. Just add ‘'broadcast=True’' instead of ‘'offline=False’' to sign the transaction correctly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I generate bitcoin wallets/keys with bitcoinlib. I generated it with ‘network='testnet’. However, when I try to send tBTC to another address, I get an error, even though the recipient's address is also ‘testnet’.
When I use, for example, ‘transaction = w.send_to(’'address'‘,’'0.0004 BTC'‘, offline=False)’, it returns something like this ‘'TypeError: Wallet.send_to() got an unexpected keyword argument 'offline’''.


Full code:
Beta Was this translation helpful? Give feedback.
All reactions