scripts: remove explict else branch
This commit is contained in:
parent
1a20c0db39
commit
b65e70b29c
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue