Skip to content

Commit

Permalink
go_vet error fix (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToWorld authored and fxsjy committed Jun 13, 2019
1 parent 9e80582 commit 0d3f2cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/xchain/xchain.go
Expand Up @@ -81,7 +81,6 @@ func Start(cfg *config.NodeConfig) error {
return nil
}
}
return nil
}

// Stop gracefully shut down, 各个模块实现自己需要优雅关闭的资源并在此处调用即可
Expand Down
1 change: 0 additions & 1 deletion kv/kvdb/table.go
Expand Up @@ -42,7 +42,6 @@ func (dt *table) Close() {

func (dt *table) NewBatch() Batch {
panic("not implemented")
return nil
}

func (dt *table) NewIteratorWithPrefix(prefix []byte) Iterator {
Expand Down
1 change: 0 additions & 1 deletion p2pv2/stream_test.go
Expand Up @@ -183,7 +183,6 @@ func makeHost(listenF int, target string, secio bool, seed int64) error {
tmpStream, _ = ha.NewStream(context.Background(), peerid, "/xuper/2.0.0")
select {}
}
return nil
}

func getFullPath(basicHost host.Host) {
Expand Down

0 comments on commit 0d3f2cb

Please sign in to comment.