Skip to content

Commit

Permalink
Merge branch 'master' into HUBBLE-495-add-parquet-file-writer
Browse files Browse the repository at this point in the history
  • Loading branch information
chowbao committed Jul 29, 2024
2 parents 4d68918 + 37b7123 commit 29210be
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 32 deletions.
23 changes: 12 additions & 11 deletions internal/transform/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,18 @@ func TransformOperation(operation xdr.Operation, operationIndex int32, transacti
outputLedgerSequence := utils.GetLedgerSequence(ledgerCloseMeta)

transformedOperation := OperationOutput{
SourceAccount: outputSourceAccount,
SourceAccountMuxed: outputSourceAccountMuxed.String,
Type: outputOperationType,
TypeString: outputOperationTypeString,
TransactionID: outputTransactionID,
OperationID: outputOperationID,
OperationDetails: outputDetails,
ClosedAt: outputCloseTime,
OperationResultCode: outputOperationResultCode,
OperationTraceCode: outputOperationTraceCode,
LedgerSequence: outputLedgerSequence,
SourceAccount: outputSourceAccount,
SourceAccountMuxed: outputSourceAccountMuxed.String,
Type: outputOperationType,
TypeString: outputOperationTypeString,
TransactionID: outputTransactionID,
OperationID: outputOperationID,
OperationDetails: outputDetails,
ClosedAt: outputCloseTime,
OperationResultCode: outputOperationResultCode,
OperationTraceCode: outputOperationTraceCode,
LedgerSequence: outputLedgerSequence,
OperationDetailsJSON: outputDetails,
}

return transformedOperation, nil
Expand Down
Loading

0 comments on commit 29210be

Please sign in to comment.