aboutsummaryrefslogtreecommitdiff
path: root/examples/chain
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2019-09-26 22:34:43 -0400
committerDeterminant <tederminant@gmail.com>2019-09-26 22:34:43 -0400
commit841b2b7225a9318718c3c856a9debdf01bc4f061 (patch)
treeeec6167e80cb85da5b3f27548601f5883b581cbe /examples/chain
parentf3f0b274f2b8aad466b51448f2fbd2d2b8a4d1db (diff)
update examples
Diffstat (limited to 'examples/chain')
-rw-r--r--examples/chain/main.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/chain/main.go b/examples/chain/main.go
index d129acb..b2f5629 100644
--- a/examples/chain/main.go
+++ b/examples/chain/main.go
@@ -14,7 +14,6 @@ import (
"github.com/ava-labs/go-ethereum/rlp"
"math/big"
"sync"
- //"time"
)
func checkError(err error) {
@@ -58,7 +57,6 @@ func NewTestChain(name string, config *eth.Config,
panic("cannot generate hid")
}
header.Extra = append(header.Extra, hid...)
- //fmt.Printf("%s\n", hexutil.Encode(header.Extra))
})
tc.chain.SetOnSealFinish(func(block *types.Block) error {
blkID := tc.blkCount