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
  • Loading branch information
stellarsaur committed Dec 7, 2023
1 parent f24c449 commit 5571538
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
@@ -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());
}

0 comments on commit 5571538

Please sign in to comment.