Problem of importing PTS wallet file

Started by Harvey, January 22, 2015, 04:43:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vikram

Quote from: Harvey on February 08, 2015, 03:17:46 AM
Quote from: vikram on January 22, 2015, 08:00:09 PM
Should be addressed in the next release: https://github.com/BitShares/bitshares/issues/1297

In BTS 0.6.0:

>> wallet_import_bitcoin \.wallet.dat account_name

10 assert_exception: Assert Exception
*account_name == blockchain_account_record->name: That key already belongs to a registered account with a different name!

Looks like I overlooked the details of the original post--I thought this was the bug in "wallet_import_keys_from_json" which has been fixed now, but it looks like the same bug is present in "wallet_import_bitcoin". I will take a look: https://github.com/BitShares/bitshares/issues/1362

Harvey

#4
Quote from: vikram on January 22, 2015, 08:00:09 PM
Should be addressed in the next release: https://github.com/BitShares/bitshares/issues/1297

In BTS 0.6.0:

>> wallet_import_bitcoin \.wallet.dat account_name

10 assert_exception: Assert Exception
*account_name == blockchain_account_record->name: That key already belongs to a registered account with a different name!
BTS       Witness:harvey-xts Seed:128.199.143.47:2015 API:[url="wss://128.199.143.47"]wss://128.199.143.47[/url]:2016 
MUSE   Witness:harvey-xts Seed:128.199.143.47:2017 API:[url="ws://128.199.143.47:2018"]ws://128.199.143.47:2018[/url]

Harvey

BTS       Witness:harvey-xts Seed:128.199.143.47:2015 API:[url="wss://128.199.143.47"]wss://128.199.143.47[/url]:2016 
MUSE   Witness:harvey-xts Seed:128.199.143.47:2017 API:[url="ws://128.199.143.47:2018"]ws://128.199.143.47:2018[/url]


Harvey

#1
I tried to import PTS wallet file to check the allocation of my share in the BTS v0.5.1 .

However, the BTS client reports error after I import one wallet file:

             "*account_name == blockchain_account_record->name: That key already belongs to a registered account with a different name! "

Then I try to import the same wallet file into the account given in the error message.
Unfortunately, the same error occurs. This time, the Key was reported to belong to the first account! :(

It seems that the keys in the PTS wallet file were registered in both of the BTS account A and BTS account B. Therefore, whenever I import the wallet into either A or B, the same error will occur.   

Someone probably encounter the similar problem.
Any suggestions will be really appreciated. 
BTS       Witness:harvey-xts Seed:128.199.143.47:2015 API:[url="wss://128.199.143.47"]wss://128.199.143.47[/url]:2016 
MUSE   Witness:harvey-xts Seed:128.199.143.47:2017 API:[url="ws://128.199.143.47:2018"]ws://128.199.143.47:2018[/url]