aboutsummaryrefslogtreecommitdiff
path: root/examples/chain/main.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-16 22:54:37 -0400
committerDeterminant <[email protected]>2020-09-16 22:54:37 -0400
commited839907e592ad25e6119e145e7e05ca78b00fcd (patch)
tree1235df2fcf794c391afb33cc2dd80926469e2c7e /examples/chain/main.go
parent5370b602abea0415f7609f19e3f44d5c9366e5bd (diff)
...
Diffstat (limited to 'examples/chain/main.go')
-rw-r--r--examples/chain/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/chain/main.go b/examples/chain/main.go
index 17003b5..94c5d6b 100644
--- a/examples/chain/main.go
+++ b/examples/chain/main.go
@@ -138,6 +138,8 @@ func run(config *eth.Config, a1, a2, b1, b2 int) {
bob := NewTestChain("bob", config, aliceBlk, bobBlk, aliceAck, bobAck)
alice.Start()
bob.Start()
+ log.Info("alice genesis", "block", alice.chain.GetGenesisBlock().Hash().Hex())
+ log.Info("bob genesis", "block", bob.chain.GetGenesisBlock().Hash().Hex())
alice.GenRandomTree(a1, a2)
log.Info("alice finished generating the tree")
//time.Sleep(1 * time.Second)
@@ -205,7 +207,7 @@ func main() {
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(0),
PetersburgBlock: big.NewInt(0),
- IstanbulBlock: nil,
+ IstanbulBlock: big.NewInt(0),
Ethash: nil,
}