Skip to content

Commit

Permalink
Don't convert start ledger to string for events command
Browse files Browse the repository at this point in the history
(cherry picked from commit 5571538)
(cherry picked from commit 3afe4db)
  • Loading branch information
stellarsaur committed Dec 8, 2023
1 parent 91a441f commit 456f7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/rpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ soroban config identity fund {address} --helper-url <url>"#

let mut oparams = ObjectParams::new();
match start {
EventStart::Ledger(l) => oparams.insert("startLedger", l.to_string())?,
EventStart::Ledger(l) => oparams.insert("startLedger", l)?,
EventStart::Cursor(c) => {
pagination.insert("cursor".to_string(), c.into());
}
Expand Down

0 comments on commit 456f7dc

Please sign in to comment.