From 456f7dcd9e700114c3f6345c7a5cc1bdf08f7744 Mon Sep 17 00:00:00 2001 From: "Tyler.S" Date: Thu, 7 Dec 2023 13:36:21 -0800 Subject: [PATCH] Don't convert start ledger to string for events command (cherry picked from commit 5571538a335fbd52434c355ef1c4794c920edd58) (cherry picked from commit 3afe4dba7a507c4622b88fc58889ae8ac7d61c8b) --- cmd/soroban-cli/src/rpc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/rpc/mod.rs b/cmd/soroban-cli/src/rpc/mod.rs index e10b17910..29d2f53bb 100644 --- a/cmd/soroban-cli/src/rpc/mod.rs +++ b/cmd/soroban-cli/src/rpc/mod.rs @@ -822,7 +822,7 @@ soroban config identity fund {address} --helper-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()); }