Skip to content

Commit

Permalink
Merge pull request #222 from stellar/fix-export_assets
Browse files Browse the repository at this point in the history
Export_assets fix
  • Loading branch information
cayod authored Feb 1, 2024
2 parents da58012 + 8364959 commit 1ed0784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transform/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TransformAsset(operation xdr.Operation, operationIndex int32, transactionIn
switch opType {
case xdr.OperationTypeManageSellOffer:
opSellOf, ok := operation.Body.GetManageSellOfferOp()
if ok {
if !ok {
return AssetOutput{}, fmt.Errorf("operation of type ManageSellOfferOp cannot issue an asset (id %d)", operationID)
}
asset = opSellOf.Selling
Expand Down

0 comments on commit 1ed0784

Please sign in to comment.