URI: 
       tcommands: fix signtransaction cmd - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 54d2fa0e7ddd2d9f86308a3537640f45ebeb1a90
   DIR parent b7c2820951fe4a115fd7519a87425c5fe117dacc
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 26 Aug 2020 19:48:35 +0200
       
       commands: fix signtransaction cmd
       
       fixes #6502
       
       Diffstat:
         M electrum/commands.py                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/commands.py b/electrum/commands.py
       t@@ -394,7 +394,7 @@ class Commands:
            @command('wp')
            async def signtransaction(self, tx, privkey=None, password=None, wallet: Abstract_Wallet = None):
                """Sign a transaction. The wallet keys will be used unless a private key is provided."""
       -        tx = PartialTransaction(tx)
       +        tx = tx_from_any(tx)
                if privkey:
                    txin_type, privkey2, compressed = bitcoin.deserialize_privkey(privkey)
                    pubkey = ecc.ECPrivkey(privkey2).get_public_key_bytes(compressed=compressed).hex()