Fix internal call halt on any Exception push zero
This commit is contained in:
parent
ab258b3fc9
commit
832c24014d
|
@ -351,8 +351,7 @@ public class Program {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result != null &&
|
if (result != null &&
|
||||||
result.getException() != null &&
|
result.getException() != null) {
|
||||||
result.getException() instanceof Program.OutOfGasException) {
|
|
||||||
logger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
|
logger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
|
||||||
Hex.toHexString(newAddress),
|
Hex.toHexString(newAddress),
|
||||||
result.getException());
|
result.getException());
|
||||||
|
@ -464,8 +463,7 @@ public class Program {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result != null &&
|
if (result != null &&
|
||||||
result.getException() != null &&
|
result.getException() != null) {
|
||||||
result.getException() instanceof Program.OutOfGasException) {
|
|
||||||
gasLogger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
|
gasLogger.debug("contract run halted by Exception: contract: [{}], exception: [{}]",
|
||||||
Hex.toHexString(contextAddress),
|
Hex.toHexString(contextAddress),
|
||||||
result.getException());
|
result.getException());
|
||||||
|
|
Loading…
Reference in New Issue