Skip to content

fix(backend): double XDR parse in /api/freeze/submit #8

Description

@omolobamoyinoluwa-max

Summary

/api/freeze/submit calls TransactionBuilder.fromXDR twice on the same signedXdr — once to extract adminKey and once to submit. This is redundant.

Fix

Parse once, reuse the result for both the source extraction and submission.

Acceptance criteria

  • signedXdr is parsed exactly once
  • Behaviour is unchanged

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions