Electrum: Failure to sweep Bitcoin Core P2SH segwit private key: "No inputs found."

Created on 5 Jun 2018  ·  2Comments  ·  Source: spesmilo/electrum

All on testnet:

On Bitcoin Core 0.16:

  • created a new default wallet
  • accepted payment from the Receive tab
  • obtained address by double-clicking (P2SH-segwit, starts with "2")
  • obtained private key from Console with dumpprivkey
  • block explorer shows address has funds

On Electrum 3.1.3:

  • created a new default wallet
  • Wallet>Private Keys>Sweep
  • pasted private key from Bitcoin Core
  • error: "No inputs found. (Note that inputs need to be confirmed)"

I was expecting Electrum to sweep. Instead, it gave an error.

Electrum wallet created with import defaults to P2PKH, giving wrong address.

My interpretation:

Bitcoin Core is creating segwit-P2SH addresses by default. However, Electrum doesn't know this and is attempting to scan for P2PKH based off of private key.

Electrum finds no P2PKH outputs matching private key, so reports an error.

Is it possible to import into Electrum a Bitcoin Core 0.16.0 default private key?

question ❓

Most helpful comment

All 2 comments

Worked - thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Javcho2020 picture Javcho2020  ·  3Comments

shawnpringle picture shawnpringle  ·  3Comments

reardenlife picture reardenlife  ·  4Comments

gtklocker picture gtklocker  ·  4Comments

Kixunil picture Kixunil  ·  4Comments