Bitcoin Forum

Bitcoin => Electrum => Topic started by: SnowDog2003 on September 03, 2013, 12:46:34 PM



Title: Payment Transaction Bug
Post by: SnowDog2003 on September 03, 2013, 12:46:34 PM
One of the reasons I really like Electrum is that it has really good address control. I can import addresses, export addresses, turn off change addresses, and by prioritizing an address, I can send from that address alone, to another address.

The bug is this:

1) Import a private key for a foreign address.

2) Prioritize that address when sending, but leave all other addresses unprioritized.

3) Initiate a payment. When doing so, an error is returned. The error in the server log is this:

error: {u'message': u'TX rejected', u'code': -22} [u'<Big Raw Transaction Number>']

I've tested this when sending the transaction through my new Electrum server and other Electrum Servers.



Title: Re: Payment Transaction Bug
Post by: EagleTM on September 04, 2013, 11:57:59 PM
The error code is issued by bitcoind refusing the rawtransaction from electrum-server. It's usually because the coins are already spent in some transactions already or are unconfirmed inputs.

It may also be because of the size of the transaction if you have lots of inputs and the fee. Try increasing the fee a little to say 0.0005 rather than 0.0001 and see if that makes a difference.


Title: Re: Payment Transaction Bug
Post by: SnowDog2003 on September 05, 2013, 04:56:00 PM
This may have been fixed yesterday. I started using the development version, 1.9, yesterday, and the transaction goes through now. It was easily reproducible with a simple spend from one imported address to another address in the main list, with old money. However, it doesn't show up in the development version 1.9.