diff --git a/cmd/soroban-rpc/internal/methods/simulate_transaction.go b/cmd/soroban-rpc/internal/methods/simulate_transaction.go index 361022ae..6ad3c63b 100644 --- a/cmd/soroban-rpc/internal/methods/simulate_transaction.go +++ b/cmd/soroban-rpc/internal/methods/simulate_transaction.go @@ -134,10 +134,10 @@ func (l *LedgerEntryChange) FromXDRDiff(diff preflight.XDRDiff) error { // LedgerEntryChange designates a change in a ledger entry. Before and After cannot be be omitted at the same time. // If Before is omitted, it constitutes a creation, if After is omitted, it constitutes a delation. type LedgerEntryChange struct { - Type LedgerEntryChangeType - Key string // LedgerEntryKey in base64 - Before *string `json:"before"` // LedgerEntry XDR in base64 - After *string `json:"after"` // LedgerEntry XDR in base64 + Type LedgerEntryChangeType `json:"type"` + Key string `json:"key"` // LedgerEntryKey in base64 + Before *string `json:"before"` // LedgerEntry XDR in base64 + After *string `json:"after"` // LedgerEntry XDR in base64 } type SimulateTransactionResponse struct {