scripts: enforce pubKeys as type ECPubKey
This commit is contained in:
parent
e42c497a3c
commit
0524ced984
2 changed files with 2 additions and 2 deletions
src
|
@ -185,7 +185,7 @@ function scriptHashOutput(hash) {
|
|||
|
||||
// m [pubKeys ...] n OP_CHECKMULTISIG
|
||||
function multisigOutput(m, pubKeys) {
|
||||
typeForce('Array', pubKeys)
|
||||
typeForce(['ECPubKey'], pubKeys)
|
||||
|
||||
assert(pubKeys.length >= m, 'Not enough pubKeys provided')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue