scripts: remove explict else branch

This commit is contained in:
Daniel Cousens 2014-10-13 18:53:07 +11:00
parent 1a20c0db39
commit b65e70b29c

View file

@ -129,9 +129,9 @@ function classifyOutput(script) {
return 'pubkey'
} else if (isNulldataOutput(script)) {
return 'nulldata'
} else {
return 'nonstandard'
}
return 'nonstandard'
}
function classifyInput(script) {
@ -145,9 +145,9 @@ function classifyInput(script) {
return 'multisig'
} else if (isPubKeyInput(script)) {
return 'pubkey'
} else {
return 'nonstandard'
}
return 'nonstandard'
}
// Standard Script Templates