pull/4351/head
“GheisMohammadi” 2 years ago committed by Casey Gardiner
parent eb15d13842
commit 70a37800b5
  1. 2
      p2p/stream/common/requestmanager/interface_test.go
  2. 2
      p2p/stream/common/streammanager/interface_test.go
  3. 4
      p2p/stream/types/stream.go

@ -122,7 +122,7 @@ func (st *testStream) AddFailedTimes() {
return
}
func (st *testStream) ResetFailedRimes() {
func (st *testStream) ResetFailedTimes() {
return
}

@ -78,7 +78,7 @@ func (st *testStream) AddFailedTimes() {
return
}
func (st *testStream) ResetFailedRimes() {
func (st *testStream) ResetFailedTimes() {
return
}

@ -23,7 +23,7 @@ type Stream interface {
CloseOnExit() error
FailedTimes() int
AddFailedTimes()
ResetFailedRimes()
ResetFailedTimes()
}
// BaseStream is the wrapper around
@ -86,7 +86,7 @@ func (st *BaseStream) AddFailedTimes() {
st.failedTimes++
}
func (st *BaseStream) ResetFailedRimes() {
func (st *BaseStream) ResetFailedTimes() {
st.failedTimes = 0
}

Loading…
Cancel
Save