Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/catchpointdump/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func init() {
netCmd.Flags().StringVarP(&relayAddress, "relay", "p", "", "Relay address to use ( i.e. r-ru.algorand-mainnet.network:4160 )")
netCmd.Flags().BoolVarP(&singleCatchpoint, "single", "s", true, "Download/process only from a single relay")
netCmd.Flags().BoolVarP(&downloadOnly, "download", "l", false, "Download only, do not process")
netCmd.Flags().VarP(excludedFields, "exclude-fields", "e", "List of fields to exclude from the dump: ["+excludedFields.AllowedString()+"]")
}

var netCmd = &cobra.Command{
Expand Down Expand Up @@ -301,7 +302,7 @@ func makeFileDump(addr string, tarFile string, genesisInitState ledgercore.InitS
if err != nil {
return err
}
err = printAccountsDatabase("./ledger.tracker.sqlite", fileHeader, outFile, nil)
err = printAccountsDatabase("./ledger.tracker.sqlite", fileHeader, outFile, excludedFields.GetSlice())
if err != nil {
return err
}
Expand Down