get default values to work
@@ -31,9 +31,9 @@ import (
type flagsEvents struct{
Start uint64 `flag:"start" info:"Block height start"`
End uint64 `flag:"end" info:"Block height end"`
- Last uint64 `default:1 flag:"last" info:"Fetch last number of block relative to latestBlocks. Will be ignored if --start set"`
- Workers uint64 `default:10 flag:"workers" info:"Number of workers to use when fetching events in parallel"`
- Batch uint64 `default:250 flag:"batch" info:"Number of blocks to batch together when fetching events in parallel"`
+ Last uint64 `default:"1" flag:"last" info:"Fetch last number of block relative to latestBlocks. Will be ignored if --start set"`
+ Workers uint64 `default:"10" flag:"workers" info:"Number of workers to use when fetching events in parallel"`
+ Batch uint64 `default:"250" flag:"batch" info:"Number of blocks to batch together when fetching events in parallel"`
}
var eventsFlags = flagsEvents{}
