3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +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,14 +166,7 @@ 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);
}
basicSpendingCommon(encryptedMixedWallet, myEncryptedAddress2, true);
}
private void basicSpendingCommon(Wallet wallet, Address toAddress, boolean testEncryption) throws Exception {