mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
Script: Fix exception handling within isSentToMultiSig() method.
This commit is contained in:
committed by
Andreas Schildbach
parent
24b8f6771d
commit
c35d7da63a
@@ -711,7 +711,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;
|
||||
|
Reference in New Issue
Block a user