Skip to content

Commit

Permalink
forgot to remove the debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
karnthis committed Nov 1, 2023
1 parent 3a7f7fa commit 0531b39
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions handlers/file_io_handler/txs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ import (
)

func (f *FileIoHandler) SignAndBroadcast(msgs []sdk.Msg) error {
res, err := f.walletHandler.SendTx(msgs...)
_, err := f.walletHandler.SendTx(msgs...)
if err != nil {
return err
}
fmt.Println(res.Code)
fmt.Println(res.RawLog)
return nil
}

Expand All @@ -40,14 +38,7 @@ func (f *FileIoHandler) LoadNestedFolder(rawPath string) (folderHandlers *folder
parentSubString := strings.Join(pathChunks[0:i], "/")
subString := strings.Join(pathChunks[0:i+1], "/")

fmt.Println("cycle start")
fmt.Println(parentSubString)
fmt.Println(subString)

rawSubFolder, err := compression.ReadFileTreeEntry(f.walletHandler.GetAddress(), subString, f.walletHandler)
fmt.Println(rawSubFolder)
fmt.Println(err)
fmt.Println(pathChunks[i])
if err != nil {
folders[subString] = folder_handler.TrackNewFolder(
pathChunks[i],
Expand All @@ -56,12 +47,7 @@ func (f *FileIoHandler) LoadNestedFolder(rawPath string) (folderHandlers *folder
f.walletHandler,
)

fmt.Println(folders[subString].GetFolderDetails())

msg, _, err := folders[parentSubString].AddChildDirs([]string{pathChunks[i]})
fmt.Println(folders[parentSubString].GetChildDirs())
fmt.Println(msg)
fmt.Println(err)
if err != nil {
return nil, nil, err
}
Expand All @@ -76,10 +62,7 @@ func (f *FileIoHandler) LoadNestedFolder(rawPath string) (folderHandlers *folder

folders[subString] = folder_handler.TrackFolder(subFrame, f.walletHandler)
}
fmt.Println("msgs")
fmt.Println(msgs)
}
fmt.Println("LoadNestedFolder done")

return folders[rawPath], msgs, err
}
Expand Down

0 comments on commit 0531b39

Please sign in to comment.