Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: can't add contact sometimes, help~  (Read 323 times)

0 Members and 1 Guest are viewing this topic.

Offline autumn84

  • Newbie
  • *
  • Posts: 5
    • View Profile
can't add contact sometimes, help~
« on: July 26, 2014, 04:09:12 AM »

sometimes I can't add contact account, my wallet version is 0.2.2, in Ubuntu, can somebody help?

for example:
localtest (unlocked) >>> wallet_add_contact_account  rewardsomebody BTSX6uPc7ZjkyKeHdkkr9wadzYktRn7KKixDbPo3UuDGYGtL1hcsFw
10 assert_exception: Assert Exception
!account_key.valid(): Provided key belongs to another account.
    {}
    th_a  wallet.cpp:1449 add_contact_account

    {"account_name":"rewardsomebody","key":"BTSX6uPc7ZjkyKeHdkkr9wadzYktRn7KKixDbPo3UuDGYGtL1hcsFw"}
    th_a  wallet.cpp:1462 add_contact_account

    {}
    th_a  common_api_client.cpp:899 wallet_add_contact_account

    {"command":"wallet_add_contact_account"}
    th_a  cli.cpp:540 execute_command
localtest (unlocked) >>>
localtest (unlocked) >>>
localtest (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVED       
hot105                             BTSX6Ep6HFeS67uzqrSZrzwyQpVudntuEG424RfWCv7x1zbjXg6Jb2          NO                    NO             0         
localremote                      BTSX5hzCPsQpBxd81SznNKMsVKzbd1i8YmyC6mVDFShJDLYC4bh5pA          NO                    NO             0         
localtest (unlocked) >>>

but when I use wallet_list_accounts, there is no account with the key "BTSX6uPc7ZjkyKeHdkkr9wadzYktRn7KKixDbPo3UuDGYGtL1hcsFw".

Offline crazybit

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
Re: can't add contact sometimes, help~
« Reply #1 on: July 26, 2014, 04:22:04 AM »
looks like you have added this key to other name in your wallet

Offline autumn84

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: can't add contact sometimes, help~
« Reply #2 on: July 26, 2014, 04:30:16 AM »
looks like you have added this key to other name in your wallet

If I have added the key before, how can I find the account name and remove it?
when I use wallet_list_accounts, there is no account with the key, what shuold I do?

Offline crazybit

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
Re: can't add contact sometimes, help~
« Reply #3 on: July 26, 2014, 04:39:57 AM »
try to issue the following command to check  if the public key belongs to one of your account.

wallet_account_list_public_keys <your account name>

looks like you have added this key to other name in your wallet

If I have added the key before, how can I find the account name and remove it?
when I use wallet_list_accounts, there is no account with the key, what shuold I do?

Offline autumn84

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: can't add contact sometimes, help~
« Reply #4 on: July 26, 2014, 06:43:16 AM »
try to issue the following command to check  if the public key belongs to one of your account.

wallet_account_list_public_keys <your account name>

looks like you have added this key to other name in your wallet

If I have added the key before, how can I find the account name and remove it?
when I use wallet_list_accounts, there is no account with the key, what should I do?

I have checked as you suggestion,  the public key is not mine, and I checked my operation records, I have added the key before, but I removed it. Is there a bug that the data isn't deleted clearly in some conditions?

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: can't add contact sometimes, help~
« Reply #5 on: July 26, 2014, 05:49:41 PM »
I do not know if this is your problem, but Contacts are not allowed to be created for registered accounts.
I speak for myself and only myself.

 

Google+