3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

Fix flake in WalletTest. Resolves #991

This commit is contained in:
Mike Hearn 2015-06-12 17:11:33 +02:00
parent e3bba1c3cb
commit 2b8fa07ae8

View File

@ -2893,7 +2893,7 @@ public class WalletTest extends TestWithWallet {
assertTrue("Only one of the signatures should be missing/dummy", firstSigIsMissing ^ secondSigIsMissing);
int localSigIndex = firstSigIsMissing ? 2 : 1;
int length = input.getScriptSig().getChunks().get(localSigIndex).data.length;
assertTrue("Local sig should be present: " + length, length > 70);
assertTrue("Local sig should be present: " + length, length >= 70);
}