Post
Topic
Board Electrum
Re: How can I sign a transaction with a private key on electrum console
by
HCP
on 18/03/2021, 11:24:46 UTC
Mine works well on a just created testnet wallet.
As far as I can tell, it works if the wallet already has the private key in it (ie. you create an imported wallet using the privkey)... but if you are attempting to sign a transaction using a wallet that doesn't contain the key, it won't work... even if you pass the private key.

There is something weird happening in the sign_transaction() code that seems to make it ignore the privkey Huh