From 44ead8b6a1419495482899dcd93555c0fb075510 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 22 Apr 2013 14:37:34 +0200 Subject: [PATCH] Script: couple of minor reformattings. --- core/src/main/java/com/google/bitcoin/core/Script.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Script.java b/core/src/main/java/com/google/bitcoin/core/Script.java index 29ad4050..02926117 100644 --- a/core/src/main/java/com/google/bitcoin/core/Script.java +++ b/core/src/main/java/com/google/bitcoin/core/Script.java @@ -47,9 +47,7 @@ class ScriptChunk { this.startLocationInProgram = startLocationInProgram; } public boolean equalsOpCode(int opCode) { - return isOpCode && - data.length == 1 && - (0xFF & data[0]) == opCode; + return isOpCode && data.length == 1 && (0xFF & data[0]) == opCode; } } @@ -1560,7 +1558,6 @@ public class Script { * @param scriptSigIndex The index in txContainingThis of the scriptSig (note: NOT the index of the scriptPubKey). * @param scriptPubKey The connected scriptPubKey containing the conditions needed to claim the value. * @param enforceP2SH Whether "pay to script hash" rules should be enforced. If in doubt, set to true. - * @throws VerificationException if this script does not correctly spend the scriptPubKey */ public void correctlySpends(Transaction txContainingThis, long scriptSigIndex, Script scriptPubKey, boolean enforceP2SH) throws ScriptException {