Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
56621533
Topic
5324169
Board
Electrum
Re: How can I sign a transaction with a private key on electrum console
by
Ali2k
on
22/03/2021, 00:45:55 UTC
Quote from: pooya87 on March 20, 2021, 04:37:44 AM
It is not ignoring the private key, it doesn't know how to sign the transaction because the signature scripts are empty. It also uses the given private key if the command is called using the "privkey" parameter, otherwise it will call the wallet instance and asks if it can sign the given tx.
https://github.com/spesmilo/electrum/blob/64a931f21e6f6699f192158e54ff8f2883682604/electrum/commands.py#L397-L402
I just want it to be done on the console