Skip to content

Commit c7b6bdc

Browse files
committed
lints
1 parent 78a7bf4 commit c7b6bdc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

japicore/pathRouteHandling.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ func (j JApiCore) UploadMultiByPathHandler() bunrouter.HandlerFunc {
235235
return err
236236
}
237237

238-
go func(ch chan string, wg *sync.WaitGroup) {
238+
go func(filename string, ch chan string, wg *sync.WaitGroup) {
239239
defer wg.Done()
240-
ch <- processUpload(w, j.FileIo, byteBuffer.Bytes(), fh.Filename, operatingRoot, j.FileIoQueue)
241-
}(fidChannel, &wg)
240+
ch <- processUpload(w, j.FileIo, byteBuffer.Bytes(), filename, operatingRoot, j.FileIoQueue)
241+
}(fh.Filename, fidChannel, &wg)
242242
}
243243
wg.Wait()
244244
close(fidChannel)

japicore/wallet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func InitWalletSession() (*wallet_handler.WalletHandler, *file_io_handler.FileIo
2727
panic(err)
2828
}
2929

30-
//fileIo, err := file_io_handler.NewFileIoHandler(wallet.WithGas("250000"))
30+
// fileIo, err := file_io_handler.NewFileIoHandler(wallet.WithGas("250000"))
3131
fileIo, err := file_io_handler.NewFileIoHandler(wallet)
3232
if err != nil {
3333
panic(err)

0 commit comments

Comments
 (0)