Mini merge

This commit is contained in:
nicksavers 2014-06-07 18:49:58 +02:00
commit f4d933f445
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class Blockchain extends ArrayList<Block> {
// on this price will use default 10000000000000
// todo: refactor this longValue some constant defaults class 10000000000000L
this.gasPrice = block.isGenesis() ? INITIAL_MIN_GAS_PRICE : block.getMinGasPrice();
if(lastBlock == null || block.getNumber() > lastBlock.getNumber())
if(lastBlock == null || block.getNumber() > lastBlock.getNumber())
this.lastBlock = block;
this.add(block);
}