Fix internal call halt on any Exception push zero

This commit is contained in:
Roman Mandeleil 2015-01-06 16:42:51 +02:00
parent ab258b3fc9
commit 832c24014d
1 changed files with 2 additions and 4 deletions

View File

@ -351,8 +351,7 @@ public class Program {
}
if (result != null &&
result.getException() != null &&
result.getException() instanceof Program.OutOfGasException) {
result.getException() != null) {
logger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
Hex.toHexString(newAddress),
result.getException());
@ -464,8 +463,7 @@ public class Program {
}
if (result != null &&
result.getException() != null &&
result.getException() instanceof Program.OutOfGasException) {
result.getException() != null) {
gasLogger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
Hex.toHexString(contextAddress),
result.getException());