Bitcoin Forum

Bitcoin => Electrum => Topic started by: Gardenstudio on January 26, 2018, 09:14:21 PM



Title: electrum received transaction with 0BTC instead of 0.275
Post by: Gardenstudio on January 26, 2018, 09:14:21 PM
Dear everybody,
I have a special (and bad) issue that never happened To me and creating a bit of pain about electrum.

I moved 0.275 btc from a bitpanda account of a friend to his electrum wallet.
Outgoing transaction is done but electrum wallet received a transaction with 0btc instead of the amount!

how can be and how can i solve?? it's around 2500€... not a little money!
And as i suggested him to invest in btc and to use electrum as the best and safe software wallet i feel a bit in fault...

https://www.smartbit.com.au/address/1LocrF7CRP9m9RcddKrVr94GfLUR66VVuM

here is transaction details and i hope there is a solution to see this money again on his wallet.
does somebody knows how i can be helped to receive the btc back?

many thanks in advance to everybody


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 26, 2018, 09:27:43 PM
Everything looks fine with the transaction.

If you have a copy of your seed, can you try to make a new wallet with the same seed? Using file-->new/restore and follow the steps.

If that doesn't work, try importing the transaction from the blockchain on you wallet or change server connections as there's normally one peer that lags.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: DannyHamilton on January 26, 2018, 09:31:32 PM
electrum wallet received a transaction with 0btc instead of the amount!

Are you sure about this?  That's not how bitcoin works.

Why do you think Electrum received the transaction?

What is shown on the Electrum interface?

Are you that the Bitcoin address you used came from Electrum?

Does Electrum still show that address?

Is it possible that you used copy&paste and accidentally pasted a bitcoin address from somewhere else instead of the address from Electrum?



Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Gardenstudio on January 26, 2018, 10:21:55 PM
i'm sorry but i confirm everything as described (and i know it's not normal).
it's an android electrum installed 2 days ago on a galaxy tab s2 quite new (i installed personally).
2 days ago i did the same btc movement from bitpanda to this wallet and everything worked.
i'm not the master of btc but also not a beginner... so it's not thee first time i handle a wallet.

on the transaction list i see a confirmed transaction with 0eur and no btc amount. never seen something like this.

the transaction in electrum appeared immediately unconfirmed after the outgoing transaction done in bitpanda and yes... address is correct. so the transaction listed in the wallet is the same i did in bitpanda... after minutes was confirmed but with still no btc amount and 0eur value.

as i'm a php programmer, i have the feeling that electrum collected wrong infos for this transaction and now it has this bad data stored.

status is "syncroniyzing" instead of showing the balance.

is it possible to change server and/or import transaction from blockchain in electrum android?
any other idea to restore/refresh data before trying to restore the seed?

many thanks to both in advance for your precious help.
as wrote before, i suggested personally to invest in btc and to use electrum because really trustable and safe... so i really feel in fault if he looses 2500€ thanks to my suggestion.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: TryNinja on January 26, 2018, 10:44:43 PM
is it possible to change server and/or import transaction from blockchain in electrum android?
1. Click the three dot menu at the top-right corner of the app -> Network.
2. Turn Auto-connect to OFF.
3. Click "Server" -> Choose from peers -> Select a different server.

If you still can't see your transaction history, make sure you have the wallet seed stored somewhere, clear the app data/reinstall the app and restore the wallet.

If for some magic reason you still can't make it work, download Electrum[1] for PC and create a new wallet by restoring the same seed.

[1] https://electrum.org/


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 26, 2018, 11:20:09 PM
i'm sorry but i confirm everything as described (and i know it's not normal).
it's an android electrum installed 2 days ago on a galaxy tab s2 quite new (i installed personally).
2 days ago i did the same btc movement from bitpanda to this wallet and everything worked.
i'm not the master of btc but also not a beginner... so it's not thee first time i handle a wallet.

on the transaction list i see a confirmed transaction with 0eur and no btc amount. never seen something like this.

the transaction in electrum appeared immediately unconfirmed after the outgoing transaction done in bitpanda and yes... address is correct. so the transaction listed in the wallet is the same i did in bitpanda... after minutes was confirmed but with still no btc amount and 0eur value.

as i'm a php programmer, i have the feeling that electrum collected wrong infos for this transaction and now it has this bad data stored.

status is "syncroniyzing" instead of showing the balance.

is it possible to change server and/or import transaction from blockchain in electrum android?
any other idea to restore/refresh data before trying to restore the seed?

many thanks to both in advance for your precious help.
as wrote before, i suggested personally to invest in btc and to use electrum because really trustable and safe... so i really feel in fault if he looses 2500€ thanks to my suggestion.

I consider that the use of android is possibly partially the problem. Write down your seed somewhere AND type it out on an offline computer as well just to ensure you don't lose anything. (Click the syncronising/balance button and then "seed")

Navigate to your app's settings, navigate down to electrum, click it and tap both "Clear Data" and "Clear Cache". And then go back to reattempting the wallet restore. Do this before readding the seed but it isn't needed for turning off autoconnect and restarting the app and the phone.

Restart the phone once you turn autoconnect off to ensure everything has gone though with electrum and it doesn't consider it is still using the old instance that it had and connecting to the server it previously connected to.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Thirdspace on January 27, 2018, 01:23:36 AM
as wrote before, i suggested personally to invest in btc and to use electrum because really trustable and safe... so i really feel in fault if he looses 2500€ thanks to my suggestion.
don't worry, you didn't lose his bitcoin. It is still there in the address mentioned
it's simply technical problem showing the balance in your wallet.
in addition to saving your seed, you can extract individually that address' private keys just for double safety measure
and do what TryNinja suggested and also check just in case your wallet is offline mode

edit: my mistake... I was thinking desktop electrum.
is turning on/offline mode is desktop electrum feature only too?


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 27, 2018, 01:45:35 AM
as wrote before, i suggested personally to invest in btc and to use electrum because really trustable and safe... so i really feel in fault if he looses 2500€ thanks to my suggestion.
don't worry, you didn't lose his bitcoin. It is still there in the address mentioned
it's simply technical problem showing the balance in your wallet.
in addition to saving your seed, you can extract individually that address' private keys just for double safety measure
and do what TryNinja suggested and also check just in case your wallet is offline mode

@OP, this can't be done in Android electrum (the saving of address' private keys) so it's a pointless task unless you're going to put the wallet on your computer's electrum wallet, in which case, that's sufficient along with writing down the seed as it's unlikely for all three to go missing.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Gardenstudio on January 27, 2018, 07:43:50 AM
 many thanks to everybody.
tokorrow evening or monday i will have the possibility to do all these checks you mentioned.
in order to help other people who could have the same problem i will answer again with telling which solution worked finally.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: bruc3-L33 on January 29, 2018, 10:51:37 AM
I can confirm the same issue with Electrum 3.0.5 desktop. In history tab the transaction shows up with 0 BTC, though I can see the transaction on a blockchain explorer. The right click option to get details or to view the transaction on a blockchain explorer is not working inside Electrum app.  Electrum status is "synchronizing"  and never completes. What I did, but with nothing changed:

1) Selected a  different server. Did it multiple times
2) Exported the private key. Imported it as new wallet: the same result, in the history tab that transaction is still receiving 0 BTC. Electrum is "Synchronizing" but never finishes.
3) Removed Electrum. Installed it again.
4) Recover from seed on a different machine, clean installation OS.

What I am thinking to try is to sweep the private keys in an other wallet, eg Greenaddress. Anyone else shares the same possible solution?


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 29, 2018, 01:34:49 PM
I can confirm the same issue with Electrum 3.0.5 desktop. In history tab the transaction shows up with 0 BTC, though I can see the transaction on a blockchain explorer. The right click option to get details or to view the transaction on a blockchain explorer is not working inside Electrum app.  Electrum status is "synchronizing"  and never completes. What I did, but with nothing changed:

1) Selected a  different server. Did it multiple times
2) Exported the private key. Imported it as new wallet: the same result, in the history tab that transaction is still receiving 0 BTC. Electrum is "Synchronizing" but never finishes.
3) Removed Electrum. Installed it again.
4) Recover from seed on a different machine, clean installation OS.

What I am thinking to try is to sweep the private keys in an other wallet, eg Greenaddress. Anyone else shares the same possible solution?

Try it in an older version of the wallet first.
ensure you click to encrypt the full wallet file on setup.
On the electrum.org/#download there's a "previous versions" link.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Gardenstudio on January 29, 2018, 03:22:28 PM
I'm sorry but the problem still persist.
As I posted two times this post (here and in the official electrum dev thread, I will go on there)

https://bitcointalk.org/index.php?topic=2829069.0

I suggest everybody who has the same problem to go on posting in the thread above in order to send any useful information to the official electrum developer team.
Many thanks to everybody who helped till now :-)


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Coding Enthusiast on January 29, 2018, 04:34:19 PM
Not sure where to post this answer since you have two topics, I just put it here (the longer one).
I can confirm that this is a bug and reproduce-able.
https://i.imgur.com/kbK9Ybp.jpg

https://i.imgur.com/nBVt77N.jpg

Most probably some problem with parsing the transaction.
The Tx ID already exists in the wallet, but the raw hex of it is not stored, which is why you see the amount as 0.
Code:
{
    "addr_history": {
        "1LocrF7CRP9m9RcddKrVr94GfLUR66VVuM": [
            [
                "b18a38be693a5dca1aae2326351cb80c3ca64616559f0c4c5c9b6d2d8841d9cb",
                506235
            ]
        ]
    },
    "addresses": {
        "1LocrF7CRP9m9RcddKrVr94GfLUR66VVuM": {}
    },
    "pruned_txo": {},
    "seed_version": 16,
    "stored_height": 506673,
    "transactions": {},
    "tx_fees": {},
    "txi": {},
    "txo": {},
    "verified_tx3": {
        "b18a38be693a5dca1aae2326351cb80c3ca64616559f0c4c5c9b6d2d8841d9cb": [
            506235,
            1516990732,
            328
        ]
    },
    "wallet_type": "imported",
    "winpos-qt": [
        162,
        333,
        840,
        400
    ]
}

This may also be relevant: https://github.com/spesmilo/electrum/issues/3788


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: centi on January 29, 2018, 06:28:47 PM
Can someone tell me how to use this code?

I'm not a developer, can i just enter it in the console?  ???


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: Gardenstudio on January 29, 2018, 07:00:29 PM
Can someone tell me how to use this code?

I'm not a developer, can i just enter it in the console?  ???

From which exchange did you sent your BTC to electrum?
BITPANDA? It looks like everybody has this problem received a payment from bitpanda.

The most of us are not a developer - me included. I think we just need to wait for a new software release or something like this.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: centi on January 29, 2018, 07:11:46 PM
Quote
From which exchange did you sent your BTC to electrum?
BITPANDA? It looks like everybody has this problem received a payment from bitpanda.



Bitpanda, right.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 29, 2018, 07:17:43 PM
Can someone tell me how to use this code?

I'm not a developer, can i just enter it in the console?  ???

Can you get the TXid? I'll get the hash for you from a block explorer and you can paste that into your wallet to import the transaction hash (I'll tell you how to do this once I get the TXid and the hashed format).

The Coding Enthusiast posted information, not code. And if it works to just import the raw hash then that'll probably save a lot of effort of running the other scripts.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: centi on January 29, 2018, 07:30:35 PM
Can someone tell me how to use this code?

I'm not a developer, can i just enter it in the console?  ???

Can you get the TXid? I'll get the hash for you from a block explorer and you can paste that into your wallet to import the transaction hash (I'll tell you how to do this once I get the TXid and the hashed format).


Cant get the TXid because Electrum crashes everytime i try to rightklick the transaction in history.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: bruc3-L33 on January 29, 2018, 09:45:11 PM
Check the receiving address(s) on an online blockchain explorer. If you know the amount of BTC you received you can find immediately your transaction and the Txid. Else find the completed transaction before the one showed with 0 BTC and the one after.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on January 29, 2018, 09:52:59 PM
Yeah sorry. I found the tx is this: b18a38be693a5dca1aae2326351cb80c3ca64616559f0c4c5c9b6d2d8841d9cb

But was still wondering how it could be imported. I got the hash, but when I tried importing it, electrum crashed and hasn't come back since :(.

Looks like there's some sort of server issue with the new release as it has crashed v2.9.8 and v3.0.5.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: HCP on January 30, 2018, 04:54:19 AM
As coding enthusiast has pointed out... there was a bug reported here: https://github.com/spesmilo/electrum/issues/3788
It has been fixed and merged here: https://github.com/spesmilo/electrum/pull/3794

The next release should cure this issue. Seems the parsing of "Non MultiSig" SegWit P2SH transactions was broken. :-\

If you are super desperate for the fix, you could probably clone the current Electrum repo and run from source.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: pooya87 on January 30, 2018, 05:05:03 AM
Yeah sorry. I found the tx is this: b18a38be693a5dca1aae2326351cb80c3ca64616559f0c4c5c9b6d2d8841d9cb

But was still wondering how it could be imported. I got the hash, but when I tried importing it, electrum crashed and hasn't come back since :(.

Looks like there's some sort of server issue with the new release as it has crashed v2.9.8 and v3.0.5.

if this is not your wallet you can't just import the transaction in the wallet, there is no option for that. if you want to test it, you need to import the receiving address in a new wallet.

and the problem is not with the server, it is with the wallet itself. it receives a transaction ID which you posted here, and saves it. then it also receives the same transaction in raw format but before saving it, the wallet has to verify this transction by parsing it. but it fails there so it can not save the raw transaction hex (in blockchain.info add ?format=hex and you see it) in your wallet. so it shows the amount received as 0 and also gets stuck in synchronizing.

this should fix it: https://github.com/spesmilo/electrum/pull/3794
if you know how, clone the repository and build a new version based on the latest commits. some helpful link for windows (https://github.com/spesmilo/electrum/blob/master/contrib/build-wine/README.md)
if you don't wait for them to make a new release which shouldn't take long.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: centi on January 30, 2018, 01:52:55 PM
The next release should cure this issue. Seems the parsing of "Non MultiSig" SegWit P2SH transactions was broken. :-\
If you are super desperate for the fix, you could probably clone the current Electrum repo and run from source.

When will the next release come? Are we talking about days, weeks?


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: HCP on February 01, 2018, 06:54:04 AM
When will the next release come? Are we talking about days, weeks?
Honestly, no idea... your best bet is to go onto the #Electrum IRC channel on Freenode and ask there: https://webchat.freenode.net/

Or try asking on the Electrum github, as only the devs really know when the next release is coming.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: moon539 on February 02, 2018, 09:12:03 AM
have the same issue on Mac electrum v.3.0.5
have a Zero-value transaction listed and the electrum got frozen. when I double-click on the transaction, the program crashes so I can't even know the TX to check it on the blockchain.


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: jackg on February 02, 2018, 12:59:55 PM
have the same issue on Mac electrum v.3.0.5
have a Zero-value transaction listed and the electrum got frozen. when I double-click on the transaction, the program crashes so I can't even know the TX to check it on the blockchain.

Get your address and the amount you should've received and we can trace the TX from the blockchain. Can't do very much from there.




Onto what someone said about my post, it looks like it doesn't understand the hash as if it'd imported successfully, even if it was the wrong wallet it'd still import it with a message along the lines of "transaction not related to wallet addresses".


Title: Re: electrum received transaction with 0BTC instead of 0.275
Post by: ofirbeigel on February 03, 2018, 10:50:46 AM
Electrum 3.0.6 was just released - it solves this issue