aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/peer_error.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/peer_error.go')
-rw-r--r--p2p/peer_error.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/peer_error.go b/p2p/peer_error.go
index a1cddb707..ab61bfef0 100644
--- a/p2p/peer_error.go
+++ b/p2p/peer_error.go
@@ -48,8 +48,8 @@ func newPeerError(code int, format string, v ...interface{}) *peerError {
return err
}
-func (self *peerError) Error() string {
- return self.message
+func (pe *peerError) Error() string {
+ return pe.message
}
var errProtocolReturned = errors.New("protocol returned")