From 9b3796bee2895a7a4c98acd8eddf70111572e89f Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Thu, 7 Dec 2023 15:05:19 -0800 Subject: [PATCH] converted event.ledger to integer type (cherry picked from commit 214a0df2329312026aecca125d25c8ce96b2b16f) --- 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 29d2f53bb..57a7b1994 100644 --- a/cmd/soroban-cli/src/rpc/mod.rs +++ b/cmd/soroban-cli/src/rpc/mod.rs @@ -356,7 +356,7 @@ pub struct Event { #[serde(rename = "type")] pub event_type: String, - pub ledger: String, + pub ledger: u32, #[serde(rename = "ledgerClosedAt")] pub ledger_closed_at: String,