question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transaction Would Not Confirm and then it Disappeared

See original GitHub issue

Last week, I exported the private keys from my offline Electrum wallet to an Electron Cash wallet. In addition, I created two additional Electron Cash wallets: offline wallet and online “watch only”.

On the online computer, I sent some small amounts of BCH back and forth from the first Electron Cash wallet to the “watch only” wallet. These worked fine.

Then I tried to send the remaining balance from the first wallet to the “watch only” wallet. Both wallets showed the transaction, waiting for confirmation. I searched for the transaction ID on BlockExplorer and couldn’t find it.

Over 3 hours passed and there was still no confirmation. Maybe this is because I allocated only 1 sat/byte as fee. The transaction information window showed that the expected confirmation time is 25 blocks, transaction size is more than 950 bytes and fee is 9 cents.

I shut down Electron Cash and restarted. When the wallet windows appeared, the unconfirmed transaction appeared for a split-second and then disappeared. There is no trace of the transaction anywhere. Luckily the balance did not get deducted.

I found out, by changing servers, that the transaction re-appeared when I manually selected:

electrum-bch.adminsehow.com

I tried several other servers and the transaction did not appear. I tried electrum-bch.adminsehow.com again, and it would not connect.

What happened to the transaction? Did I do something wrong? Is it safe to submit this transaction again?

MINOR ISSUE

Before I did the above, I did the following. I exported the private keys from my offline Electrum wallet to an Electron Cash wallet and added a password to encrypt it. I copied the Electron Cash wallet to my online computer. When I tried to send some BCH, it prompted me for a password. I entered that password and it rejected it. I don’t know why.

So, I repeated the process from the beginning. I exported the private keys from my offline Electrum wallet to another Electron Cash wallet and added a password to encrypt it. I copied this second Electron Cash wallet to my online computer. When I tried to send some BCH, it sent it right away without asking for a password. I noticed that the padlock was unlocked. I don’t know why it was unlocked. I clicked it and added a password. I tried sending another transaction, it prompted me for the password, I entered it and it was accepted.

Do you think there is a bug?

IMPORTING PRIVATE KEYS VERSUS OPENING/CONVERTING ELECTRUM WALLETS

I followed the instructions from here (https://techhelpkb.com/claim-bitcoin-cash-from-electrum-to-an-spv-wallet/) to import private keys, but this does not let me create a watch-only wallet. Later, I found out that I could have simply opened and converted the Electrum wallets, and created a watch-only wallet. Can I delete the first wallet and use the converted wallet (with watch only) instead?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
curt0commented, Jan 18, 2018

FYI: I used the Electrum wallet that I had opened and converted with Electron Cash, to send. I used the same (“second”) watch-only wallet that I created last week with Electron Cash, to receive. I used the same “receiving address” as before. Electron Cash selected electron.jns.im server. This time it worked and confirmed.

Thanks for your help!

0reactions
fyookballcommented, Jan 17, 2018

From which of the above wallets should I get the seed, to create a new wallet? The first one with the BCH balance imported from Electrum? Or, the new, second wallet?

Whichever wallet you are trying to send from. What I am saying is that if the TX appears and disappears intermmitantly, it may be a bad tx that wont get relayed because of fees or dust or whatever, so the solution is you just connect to a node that doesnt see it with a fresh wallet file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why would a pending deposit transaction disappear ... - Quora
A pending transaction should only disappear if/when the transaction is cancelled or unable to finalize.
Read more >
Pending Transaction Disappeared - Why and What to Do?
Absolutely, yes. Pending transactions disappear when they are resolved one way or another. It is not different or strange in any way. You...
Read more >
Pending Transaction FAQ: When They Deduct, Disappeared ...
Below, we answer your questions about pending transactions — whether they're already deducted, what to do if one disappears, and more.
Read more >
What happens if your transaction is never confirmed?
If a transaction goes unconfirmed for too long, it will eventually disappear from the network. Most clients will remove it from their pool ......
Read more >
How to recover missing transactions - QuickBooks - Intuit
If the missing transactions are the most recent ones, wait at least 24 hours in case your bank doesn't make them available immediately....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found