ScriptPattern: Correct and clarify the JavaDoc on isSentToMultisig()

This commit is contained in:
Matthew Leon
2019-05-23 19:43:35 -04:00
committed by Andreas Schildbach
parent cb6d36f03b
commit 90b4b54b43

View File

@@ -197,8 +197,8 @@ public class ScriptPattern {
}
/**
* Returns whether this script matches the format used for multisig outputs:
* {@code [n] [keys...] [m] CHECKMULTISIG}
* Returns whether this script matches the format used for m-of-n multisig outputs:
* {@code [m] [keys...] [n] CHECKMULTISIG}
*/
public static boolean isSentToMultisig(Script script) {
List<ScriptChunk> chunks = script.chunks;