3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

WalletTest: Remove temp code that snuck in to the tests accidentally.

This commit is contained in:
Mike Hearn 2013-03-29 17:21:38 +00:00
parent 89079fd8d4
commit 89d45b638f

View File

@ -166,15 +166,8 @@ public class WalletTest {
@Test
public void basicSpendingWithEncryptedMixedWallet() throws Exception {
for (int i = 0; i < 100; i++) {
encryptedMixedWallet = new Wallet(params, keyCrypter);
myKey2 = new ECKey();
encryptedMixedWallet.addKey(myKey2);
myEncryptedKey2 = encryptedMixedWallet.addNewEncryptedKey(keyCrypter, aesKey);
myEncryptedAddress2 = myEncryptedKey2.toAddress(params);
basicSpendingCommon(encryptedMixedWallet, myEncryptedAddress2, true);
}
}
private void basicSpendingCommon(Wallet wallet, Address toAddress, boolean testEncryption) throws Exception {
// We'll set up a wallet that receives a coin, then sends a coin of lesser value and keeps the change. We