mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-17 22:27:13 +00:00
Mini merge
This commit is contained in:
commit
f4d933f445
@ -90,7 +90,7 @@ public class Blockchain extends ArrayList<Block> {
|
|||||||
// on this price will use default 10000000000000
|
// on this price will use default 10000000000000
|
||||||
// todo: refactor this longValue some constant defaults class 10000000000000L
|
// todo: refactor this longValue some constant defaults class 10000000000000L
|
||||||
this.gasPrice = block.isGenesis() ? INITIAL_MIN_GAS_PRICE : block.getMinGasPrice();
|
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.lastBlock = block;
|
||||||
this.add(block);
|
this.add(block);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user