mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 17:26:28 +01:00
Script: Fix exception handling within isSentToMultiSig() method.
This commit is contained in:
parent
d982e5fe9d
commit
6b42e477f7
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ public class Script {
|
|||
}
|
||||
// First chunk must be an OP_N opcode too.
|
||||
if (decodeFromOpN(chunks.get(0).opcode) < 1) return false;
|
||||
} catch (IllegalStateException e) {
|
||||
} catch (IllegalArgumentException e) { // thrown by decodeFromOpN()
|
||||
return false; // Not an OP_N opcode.
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue