3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 23:03:04 +00:00

Fixup last commit

This commit is contained in:
Mike Hearn 2013-06-19 15:34:05 +02:00
parent ad3bb53327
commit 4d4768ba8c

View File

@ -197,7 +197,7 @@ public class WalletTest extends TestWithWallet {
assertTrue(depthFuture.isDone());
}
private void basicSanityChecks(Wallet wallet, Transaction t, Address fromAddress, Address destination) throws ScriptException {
private void basicSanityChecks(Wallet wallet, Transaction t, Address fromAddress, Address destination) throws VerificationException {
assertEquals("Wrong number of tx inputs", 1, t.getInputs().size());
assertEquals(fromAddress, t.getInputs().get(0).getScriptSig().getFromAddress(params));
assertEquals(TransactionConfidence.ConfidenceType.PENDING, t.getConfidence().getConfidenceType());