aboutsummaryrefslogtreecommitdiff
path: root/consensus/dummy
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-14 16:04:43 -0400
committerDeterminant <[email protected]>2019-08-14 16:04:43 -0400
commit63fc17f85121f84d597742a49b99ab3d022aa6bd (patch)
treef5c0f4136445ba1b1d2c0bb6ac728d9ab382c4c4 /consensus/dummy
parent499f682b48f914ed4af0e32ba446dd0cf56e96b4 (diff)
...
Diffstat (limited to 'consensus/dummy')
-rw-r--r--consensus/dummy/consensus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/dummy/consensus.go b/consensus/dummy/consensus.go
index 2a9441d..6b03844 100644
--- a/consensus/dummy/consensus.go
+++ b/consensus/dummy/consensus.go
@@ -192,7 +192,7 @@ uncles []*types.Header, receipts []*types.Receipt) (*types.Block, error) {
}
func (self *DummyEngine) Seal(chain consensus.ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error {
- time.Sleep(1000 * time.Millisecond)
+ //time.Sleep(1000 * time.Millisecond)
fmt.Printf("sealed %s\n", block.ParentHash().String())
results <- block
return nil