From 0531b39aa442a38d2138ae69cf318507c77ba908 Mon Sep 17 00:00:00 2001 From: Erin Rivas Date: Wed, 1 Nov 2023 17:24:22 -0500 Subject: [PATCH] forgot to remove the debug statements --- handlers/file_io_handler/txs.go | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/handlers/file_io_handler/txs.go b/handlers/file_io_handler/txs.go index 56cbe75..20ae150 100644 --- a/handlers/file_io_handler/txs.go +++ b/handlers/file_io_handler/txs.go @@ -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 } @@ -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], @@ -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 } @@ -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 }