mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Remove pkg/errors; Update Gopkg.toml, but not GRPC because it breaks.
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
|
||||
@@ -105,7 +104,7 @@ func (cli *grpcClient) StopForError(err error) {
|
||||
func (cli *grpcClient) Error() error {
|
||||
cli.mtx.Lock()
|
||||
defer cli.mtx.Unlock()
|
||||
return errors.Wrap(cli.err, "grpc client error")
|
||||
return cli.err
|
||||
}
|
||||
|
||||
// Set listener for all responses
|
||||
|
Reference in New Issue
Block a user