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 30e21ea3a0
commit b51922dde7

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;