Skip to content

Commit

Permalink
Slightly clearer comment and log message in Script.executeCheckSig.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehearn committed Aug 23, 2014
1 parent 729c716 commit fcdd011
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/com/google/bitcoin/script/Script.java
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,9 @@ private static void executeCheckSig(Transaction txContainingThis, int index, Scr
} 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)
Expand Down

0 comments on commit fcdd011

Please sign in to comment.