user24641: I'm checking out the test net and a friendly person gave me access to his private key so that I didn't need to generate coins, so I importprivkey the key, sent me some coins and...
Well, I understand that now my wallet contains those 2 addresses, how can I remove his address, if possible?
Why do I want to do this? Because I'm testing stuff out and I don't want his transactions / tests cloud mine.
Thanks

user18196: There is no way to 'un-import' a private key in the core client. What you could do instead is:

Make a list of all the private keys you do care about.
Close your client.
Move the wallet.dat out of the data directory to some other location.
Start the client.
Re-import all the private keys that you do want in your wallet.

This is sort of a work around, and it may be kind of tedious, sorry there isn't a better solution currently.

24641: <p>I'm checking out the test net and a friendly person gave me access to his private key so that I didn't need to generate coins, so I importprivkey the key, sent me some coins and...</p>

<p>Well, I understand that now my wallet contains those 2 addresses, how can I remove his address, if possible?</p>

<p>Why do I want to do this? Because I'm testing stuff out and I don't want his transactions / tests cloud mine.</p>

<p>Thanks</p>
 18196: <p>There is no way to 'un-import' a private key in the core client. What you could do instead is:</p>

<ol>
<li>Make a list of all the private keys you do care about.</li>
<li>Close your client.</li>
<li>Move the wallet.dat out of the data directory to some other location.</li>
<li>Start the client.</li>
<li>Re-import all the private keys that you do want in your wallet.</li>
</ol>

<p>This is sort of a work around, and it may be kind of tedious, sorry there isn't a better solution currently.</p>
