Skip to content

Commit

Permalink
Fix block identifier default.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Nov 12, 2023
1 parent bbc38db commit 0923b24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/total-stake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ struct App {
)]
endpoint: v2::Endpoint,
#[structopt(
long = "lastfinal",
long = "block",
default_value = "lastfinal",
help = "Block to query the data in. Defaults to last finalized block."
)]
block: BlockIdentifier,
Expand Down

0 comments on commit 0923b24

Please sign in to comment.