mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 18:22:12 +01:00
Fix unit test failure caused by bad merge. Resolves issue 489.
This commit is contained in:
parent
963978c468
commit
cebebcef69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user