Skip to content

Commit

Permalink
convert json to snake-case
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Aug 27, 2024
1 parent 2349c8f commit 11f2270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/horizon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ type AsyncTransactionSubmissionResponse struct {
// ErrorResultXDR is present only if Status is equal to proto.TXStatusError.
// ErrorResultXDR is a TransactionResult xdr string which contains details on why
// the transaction could not be accepted by stellar-core.
ErrorResultXDR string `json:"errorResultXdr,omitempty"`
ErrorResultXDR string `json:"error_result_xdr,omitempty"`
// TxStatus represents the status of the transaction submission returned by stellar-core.
// It can be one of: proto.TXStatusPending, proto.TXStatusDuplicate,
// proto.TXStatusTryAgainLater, or proto.TXStatusError.
Expand Down

0 comments on commit 11f2270

Please sign in to comment.