Fix unit test failure caused by bad merge. Resolves issue 489.

This commit is contained in:
Mike Hearn 2013-12-01 13:04:25 +01:00
parent 963978c468
commit cebebcef69

View File

@ -975,7 +975,7 @@ public class WalletTest extends TestWithWallet {
assertTrue(wallet.isPendingTransactionRelevant(t1));
}
@Test
@Test(expected = InsufficientMoneyException.class)
public void watchingScriptsConfirmed() throws Exception {
ECKey key = new ECKey();
Address watchedAddress = key.toAddress(params);
@ -988,7 +988,7 @@ public class WalletTest extends TestWithWallet {
// We can't spend watched balances
Address notMyAddr = new ECKey().toAddress(params);
assertNull(wallet.createSend(notMyAddr, CENT));
wallet.createSend(notMyAddr, CENT);
}
@Test