git://git.novaco.in
/
NovacoinLibrary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7356060
)
Unreachable code
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 22 Aug 2015 22:25:52 +0000 (
01:25
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 22 Aug 2015 22:25:52 +0000 (
01:25
+0300)
Novacoin/ScriptCode.cs
patch
|
blob
|
history
diff --git
a/Novacoin/ScriptCode.cs
b/Novacoin/ScriptCode.cs
index
04ca7c4
..
e6ce375
100644
(file)
--- a/
Novacoin/ScriptCode.cs
+++ b/
Novacoin/ScriptCode.cs
@@
-1639,9
+1639,6
@@
namespace Novacoin
case instruction.OP_0NOTEQUAL:
bn = bn != 0 ? 1 : 0;
break;
-
- default:
- throw new StackMachineException("invalid instruction");
}
popstack(ref stack);
@@
-1714,9
+1711,6
@@
namespace Novacoin
case instruction.OP_MAX:
bn = (bn1 > bn2 ? bn1 : bn2);
break;
-
- default:
- throw new StackMachineException("invalid instruction");
}
popstack(ref stack);