p2p: cleanup unused arguments (#7079)

This is mostly just reading through the output of uparam, after
noticing that there were a few places where we were ignoring some arguments.
This commit is contained in:
Sam Kleinman
2021-10-08 12:49:17 +00:00
committed by GitHub
parent 4ca130d226
commit 1b5bb5348f
7 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ func (q *blockQueue) retry(height int64) {
// Success is called when a light block has been successfully verified and
// processed
func (q *blockQueue) success(height int64) {
func (q *blockQueue) success() {
q.mtx.Lock()
defer q.mtx.Unlock()
if q.terminal != nil && q.verifyHeight == q.terminal.Height {