Skip to content

Commit

Permalink
Fix typo in JSON-encoded field for a getLedgerEntries result (stell…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Oct 25, 2023
1 parent 186e157 commit 1e42daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -152,7 +152,7 @@ pub struct LedgerEntryResult {
)]
pub last_modified_ledger: u32,
#[serde(
rename = "liveUntilLedgerSeqLedgerSeq",
rename = "liveUntilLedgerSeq",
skip_serializing_if = "Option::is_none",
deserialize_with = "deserialize_option_number_from_string",
default
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/methods/get_ledger_entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type LedgerEntryResult struct {
// Last modified ledger for this entry.
LastModifiedLedger int64 `json:"lastModifiedLedgerSeq,string"`
// The ledger sequence until the entry is live, available for entries that have associated ttl ledger entries.
LiveUntilLedgerSeq *uint32 `json:"liveUntilLedgerSeqLedgerSeq,string,omitempty"`
LiveUntilLedgerSeq *uint32 `json:"liveUntilLedgerSeq,string,omitempty"`
}

type GetLedgerEntriesResponse struct {
Expand Down

0 comments on commit 1e42daf

Please sign in to comment.