Skip to content

Commit

Permalink
Update cmd/soroban-rpc/internal/methods/get_ledgers.go
Browse files Browse the repository at this point in the history
Co-authored-by: George <[email protected]>
  • Loading branch information
aditya1702 and Shaptic authored Sep 30, 2024
1 parent f6eda45 commit 935d305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/methods/get_ledgers.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (req *GetLedgersRequest) validate(maxLimit uint, ledgerRange ledgerbucketwi
type LedgerInfo struct {
Hash string `json:"hash"`
Sequence uint32 `json:"sequence"`
LedgerCloseTime int64 `json:"ledgerCloseTime"`
LedgerCloseTime int64 `json:"ledgerCloseTime,string"`

LedgerHeader string `json:"headerXdr"`
LedgerHeaderJSON json.RawMessage `json:"headerJson,omitempty"`
Expand Down

0 comments on commit 935d305

Please sign in to comment.