Skip to content

Commit

Permalink
Merge pull request #1515 from 0chain/hotfix/create-dir
Browse files Browse the repository at this point in the history
Initialize map in create directory
  • Loading branch information
dabasov authored Jun 1, 2024
2 parents 95677fb + cf3670c commit d06dcb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zboxcore/sdk/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,7 @@ func (a *Allocation) createDir(remotePath string, threshConsensus, fullConsensus
consensusThresh: threshConsensus,
fullconsensus: fullConsensus,
},
alreadyExists: make(map[uint64]bool),
}
req.ctx, req.ctxCncl = context.WithCancel(a.ctx)

Expand Down

0 comments on commit d06dcb3

Please sign in to comment.