Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
karnthis committed Nov 2, 2023
1 parent 78a7bf4 commit c7b6bdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions japicore/pathRouteHandling.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ func (j JApiCore) UploadMultiByPathHandler() bunrouter.HandlerFunc {
return err
}

go func(ch chan string, wg *sync.WaitGroup) {
go func(filename string, ch chan string, wg *sync.WaitGroup) {
defer wg.Done()
ch <- processUpload(w, j.FileIo, byteBuffer.Bytes(), fh.Filename, operatingRoot, j.FileIoQueue)
}(fidChannel, &wg)
ch <- processUpload(w, j.FileIo, byteBuffer.Bytes(), filename, operatingRoot, j.FileIoQueue)
}(fh.Filename, fidChannel, &wg)
}
wg.Wait()
close(fidChannel)
Expand Down
2 changes: 1 addition & 1 deletion japicore/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func InitWalletSession() (*wallet_handler.WalletHandler, *file_io_handler.FileIo
panic(err)
}

//fileIo, err := file_io_handler.NewFileIoHandler(wallet.WithGas("250000"))
// fileIo, err := file_io_handler.NewFileIoHandler(wallet.WithGas("250000"))
fileIo, err := file_io_handler.NewFileIoHandler(wallet)
if err != nil {
panic(err)
Expand Down

0 comments on commit c7b6bdc

Please sign in to comment.