mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-11 12:24:13 +00:00
Return gasUsed instead of gasDebit
This commit is contained in:
parent
e7bab2a8ee
commit
0a2a0803b9
@ -370,7 +370,7 @@ public class Blockchain {
|
||||
} catch (RuntimeException e) {
|
||||
trackRepository.rollback();
|
||||
if(e instanceof OutOfGasException)
|
||||
return gasDebit.longValue();
|
||||
return new BigInteger(1, tx.getGasLimit()).longValue();
|
||||
return 0;
|
||||
}
|
||||
trackRepository.commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user