We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9961d4f commit 12f3c84Copy full SHA for 12f3c84
storagemarket/deal_handler.go
@@ -16,10 +16,7 @@ import (
16
func (p *Provider) mkAndInsertDealHandler(dealUuid uuid.UUID) (*dealHandler, error) {
17
p.dhsMu.Lock()
18
defer p.dhsMu.Unlock()
19
- return p.unlkMkAndInsertDealHandler(dealUuid)
20
-}
21
22
-func (p *Provider) unlkMkAndInsertDealHandler(dealUuid uuid.UUID) (*dealHandler, error) {
23
dh, ok := p.dhs[dealUuid]
24
if ok {
25
return dh, nil
0 commit comments