Commit 0415f542 authored by yukang's avatar yukang Committed by vipwzw

Modify some code for merge

parent 36ab6d9d
......@@ -5,11 +5,9 @@
package para
import (
"encoding/hex"
"fmt"
"sync"
"time"
"encoding/hex"
log "github.com/33cn/chain33/common/log/log15"
......@@ -212,7 +210,6 @@ func (client *client) CheckBlock(parent *types.Block, current *types.BlockDetail
func (client *client) Close() {
client.BaseClient.Close()
close(client.commitMsgClient.quit)
close(client.blockSyncClient.quitChan)
close(client.quitCreate)
close(client.blockSyncClient.quitChan)
client.wg.Wait()
......
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