mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00: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…
x
Reference in New Issue
Block a user