Skip to content

Commit

Permalink
Fix json specifiers for ledger entry changes (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Apr 11, 2024
1 parent ce972f2 commit 961cf64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/soroban-rpc/internal/methods/simulate_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 961cf64

Please sign in to comment.