3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 07:12:17 +00:00

Slightly clearer comment and log message in Script.executeCheckSig.

This commit is contained in:
Mike Hearn 2014-08-23 13:11:27 +02:00
parent 729c716b18
commit fcdd0115c4

View File

@ -1175,7 +1175,9 @@ public class Script {
} catch (Exception e1) {
// There is (at least) one exception that could be hit here (EOFException, if the sig is too short)
// Because I can't verify there aren't more, we use a very generic Exception catch
log.warn(e1.toString());
log.warn("Signature checking failed! {}", e1.toString());
// Don't dump a stack trace here because we sometimes expect this to fail inside
// LocalTransactionSigner.signInputs().
}
if (opcode == OP_CHECKSIG)