Bitcoin Forum
May 04, 2024, 11:26:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unable to Load Transaction from Text and Sign It  (Read 161 times)
Joel_Jantsen (OP)
Legendary
*
Offline Offline

Activity: 1876
Merit: 1308

Get your game girl


View Profile
June 19, 2018, 06:41:58 PM
 #1

Trying to sign a transaction which requires multiple signatures. Other party have done their part and forwarded it to sign and broadcast from my end.After selecting Load Transactions -> From Text -> (Paste the transaction here), nothing happens. The dialogue closes but no transaction is seen. Is this a known bug in electrum or I'm missing out on something?
1714865207
Hero Member
*
Offline Offline

Posts: 1714865207

View Profile Personal Message (Offline)

Ignore
1714865207
Reply with quote  #2

1714865207
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714865207
Hero Member
*
Offline Offline

Posts: 1714865207

View Profile Personal Message (Offline)

Ignore
1714865207
Reply with quote  #2

1714865207
Report to moderator
1714865207
Hero Member
*
Offline Offline

Posts: 1714865207

View Profile Personal Message (Offline)

Ignore
1714865207
Reply with quote  #2

1714865207
Report to moderator
1714865207
Hero Member
*
Offline Offline

Posts: 1714865207

View Profile Personal Message (Offline)

Ignore
1714865207
Reply with quote  #2

1714865207
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 19, 2018, 10:51:11 PM
 #2

Did you get more than one copy of the first signed file from the other party?
If not then you should probably ask for another just in case your signed file has been corrupted along the way.

Check that it's definitely the right wallet you're trying to sign the transaction in also.

If it is a bug after testing this, launch a bug report on https://github.com/spesmilo/electrum
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10546



View Profile
June 20, 2018, 03:46:53 AM
Last edit: June 20, 2018, 03:57:46 AM by pooya87
 #3

first make sure you have installed the latest version of Electrum which currently is 3.1.3 (https://electrum.org/#download). it is a common problem that people try to sign a transaction made by a new version, in an old version and the old version fails to understand (parse) the transaction. that is why the dialog closes.

to make sure your transaction is fine you can a use an online decoding tool to verify it. like this one: https://btc.com/tools/tx/decode if something is wrong with it then you will see an error saying "Decode failed"
edit: in case you are using SegWit then these decoding tools can fail

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Joel_Jantsen (OP)
Legendary
*
Offline Offline

Activity: 1876
Merit: 1308

Get your game girl


View Profile
June 20, 2018, 03:16:32 PM
 #4

Did you get more than one copy of the first signed file from the other party?
If not then you should probably ask for another just in case your signed file has been corrupted along the way.
No it isn't corrupted.I'm able to decode it properly.

Check that it's definitely the right wallet you're trying to sign the transaction in also.
That could be the problem. First party have signed it using Bitcoin Core which I believe is not compatible with Electrum since it's a HD wallet.

first make sure you have installed the latest version of Electrum which currently is 3.1.3 (https://electrum.org/#download). it is a common problem that people try to sign a transaction made by a new version, in an old version and the old version fails to understand (parse) the transaction. that is why the dialog closes.

Updated the version and now it throws an error. Unhandled expression, please report the issue.List-Index out of bound exception.

to make sure your transaction is fine you can a use an online decoding tool to verify it. like this one: https://btc.com/tools/tx/decode if something is wrong with it then you will see an error saying "Decode failed"
Nope the JSON is valid.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 20, 2018, 03:36:30 PM
 #5

Check that it's definitely the right wallet you're trying to sign the transaction in also.
That could be the problem. First party have signed it using Bitcoin Core which I believe is not compatible with Electrum since it's a HD wallet.
This is definitely the problem.

Get the first cosigner to sign the transaction in electrum (after importing the private key).

Or find a way to convert it into a format electrum can understand.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10546



View Profile
June 21, 2018, 03:26:33 AM
Merited by Joel_Jantsen (2)
 #6

Check that it's definitely the right wallet you're trying to sign the transaction in also.
That could be the problem. First party have signed it using Bitcoin Core which I believe is not compatible with Electrum since it's a HD wallet.
it has nothing to do with Electrum being HD. it is because Electrum is an SPV client and the raw unsigned transaction has no specific format for its scriptsig. basically it can be empty or it can be filled with some data to help the wallet know what to do. in case of Electrum it is filled with your public key so that your wallet can know what key to use. Core however does not do this.

you can install bitcoin core and sign your transaction with it without syncing then go to your Electrum and broadcast it. that is the easiest method i can think of.

the hard way is to edit your transaction and place your pubkey in place of your scriptsig in a format that Electrum can understand. but that is not easy.

Quote
to make sure your transaction is fine you can a use an online decoding tool to verify it. like this one: https://btc.com/tools/tx/decode if something is wrong with it then you will see an error saying "Decode failed"
Nope the JSON is valid.
your should enter the hex not the whole JSON

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!