BitShares Forum

Main => General Discussion => Topic started by: bytemaster on November 05, 2013, 11:32:34 pm

Title: 0.5 BTC Bounty for Bug Patch [PAID and CLOSED]
Post by: bytemaster on November 05, 2013, 11:32:34 pm
When I try to do importprivkey, QT gives me:

Code: [Select]
Invalid private key (code -5)
I got the private key from another machine. And I am sure the it is correct.

Looks like there might be some checks against Bitcoin magic numbers that need to be updated...

Submit a working patch that is merged with the main chain to collect the bounty.
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: alexxy on November 06, 2013, 09:08:27 pm
Any test case for this? Seems like i found 2 bugs. One with main net and second one with test net
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: alexxy on November 06, 2013, 09:44:52 pm
https://github.com/InvictusInnovations/ProtoShares/pull/1

Try this one. I can import priv key with this change
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: bytemaster on November 07, 2013, 04:40:37 pm
Post your bitcoin address here to get payment for your fix, it worked.
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: alexxy on November 07, 2013, 04:48:35 pm
Ok. My adress is 1D5fexwgxkZhWsS6W4xRvMDp1jauwrkRoi
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: alexxy on November 07, 2013, 04:52:29 pm
Got it =)
Thank you

PS also i notice that magic numbers for test net are same as for bitcoin. Its not good i think
Title: Re: 0.5 BTC Bounty for Bug Patch
Post by: bytemaster on November 07, 2013, 05:03:32 pm
Got it =)
Thank you

PS also i notice that magic numbers for test net are same as for bitcoin. Its not good i think

We are working on that bug as well... we will be releasing an update in a day or so with many small fixes.