Commit 1bfa1d13 authored by Tei Im's avatar Tei Im

Add some comments

parent 6cca247a
......@@ -351,9 +351,11 @@ func checkConsolidation(cliCtx *cli.Context) error {
rng := rand.New(rand.NewSource(1337))
// txMap maps txHash to blockID
txMap := make(map[common.Hash]eth.BlockID)
// Submit random txs for each tx types
for i := 0; i < txCount; i++ {
txType := types.LegacyTxType
protected := true
// Generate all tx types alternately
switch i % 4 {
case 0:
protected = false // legacy unprotected TX (Homestead)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment